Esempio n. 1
0
		void Command_Files_Sign(SignFilesDialog.Result result) => ReplaceSelections(RelativeSelectedFiles().Select(file => Cryptor.Sign(file, result.CryptorType, result.Key, result.Hash)).ToList());
Esempio n. 2
0
		public static Result Run(Window parent)
		{
			var dialog = new SignFilesDialog { Owner = parent };
			return dialog.ShowDialog() == true ? dialog.result : null;
		}