Exemplo n.º 1
0
		void Command_Files_Insert(InsertFilesDialog.Result result) => ReplaceSelections(GetSelectionStrings().AsParallel().AsOrdered().Select(fileName => Coder.BytesToString(File.ReadAllBytes(fileName), result.CodePage, true)).ToList());
Exemplo n.º 2
0
		public static Result Run(Window parent)
		{
			var dialog = new InsertFilesDialog() { Owner = parent };
			return dialog.ShowDialog() ? dialog.result : null;
		}