Esempio n. 1
0
		void Command_Files_Hash(HashDialog.Result result) => ReplaceSelections(RelativeSelectedFiles().Select(file => Hasher.Get(file, result.HashType)).ToList());
Esempio n. 2
0
		public static Result Run(Window parent)
		{
			var dialog = new HashDialog() { Owner = parent };
			return dialog.ShowDialog() == true ? dialog.result : null;
		}