From 780b4492f1cb221ac935d245f3ffdd637805d134 Mon Sep 17 00:00:00 2001 From: LoRd_MuldeR Date: Tue, 22 Mar 2016 19:57:24 +0100 Subject: [PATCH] Some code clean-up. --- .../MHashDotNet384.Example/src/MainWindow.xaml | 25 ++++++++++++++-- .../MHashDotNet384.Example/src/MainWindow.xaml.cs | 34 +++++++++++++--------- 2 files changed, 43 insertions(+), 16 deletions(-) diff --git a/bindings/Microsoft.NET/MHashDotNet384.Example/src/MainWindow.xaml b/bindings/Microsoft.NET/MHashDotNet384.Example/src/MainWindow.xaml index 624b12e..eb9fc51 100644 --- a/bindings/Microsoft.NET/MHashDotNet384.Example/src/MainWindow.xaml +++ b/bindings/Microsoft.NET/MHashDotNet384.Example/src/MainWindow.xaml @@ -1,4 +1,23 @@ - + + + + + + + + + + + + + + + + + + + - Input File: + Input File: - Hash Value (Digest): + Hash Value (Digest): diff --git a/bindings/Microsoft.NET/MHashDotNet384.Example/src/MainWindow.xaml.cs b/bindings/Microsoft.NET/MHashDotNet384.Example/src/MainWindow.xaml.cs index ad02662..2f16fd8 100644 --- a/bindings/Microsoft.NET/MHashDotNet384.Example/src/MainWindow.xaml.cs +++ b/bindings/Microsoft.NET/MHashDotNet384.Example/src/MainWindow.xaml.cs @@ -1,25 +1,33 @@ -using Microsoft.Win32; +/* ---------------------------------------------------------------------------------------------- */ +/* MHash-384 - Language bindings for Microsoft.NET */ +/* Copyright(c) 2016 LoRd_MuldeR */ +/* */ +/* Permission is hereby granted, free of charge, to any person obtaining a copy of this software */ +/* and associated documentation files (the "Software"), to deal in the Software without */ +/* restriction, including without limitation the rights to use, copy, modify, merge, publish, */ +/* distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the */ +/* Software is furnished to do so, subject to the following conditions: */ +/* */ +/* The above copyright notice and this permission notice shall be included in all copies or */ +/* substantial portions of the Software. */ +/* */ +/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING */ +/* BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND */ +/* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, */ +/* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, */ +/* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +/* ---------------------------------------------------------------------------------------------- */ + +using Microsoft.Win32; using System; -using System.Collections.Generic; using System.ComponentModel; using System.IO; -using System.Text; using System.Windows; -using System.Windows.Controls; -using System.Windows.Data; -using System.Windows.Documents; using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Navigation; -using System.Windows.Shapes; using System.Windows.Threading; namespace MHashDotNet.Example { - /// - /// Interaction logic for MainWindow.xaml - /// public partial class MainWindow : Window { public MainWindow() -- 2.11.0