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