Exemplo n.º 1
0
		public static Result Run(Window parent, string example)
		{
			var dialog = new ConvertDateTimeDialog(example) { Owner = parent };
			return dialog.ShowDialog() ? dialog.result : null;
		}
Exemplo n.º 2
0
		void Command_DateTime_Convert(ConvertDateTimeDialog.Result result) => ReplaceSelections(Selections.AsParallel().AsOrdered().Select(range => ConvertDateTimeDialog.ConvertFormat(GetString(range), result.InputFormat, result.InputUTC, result.OutputFormat, result.OutputUTC)).ToList());