コード例 #1
0
		void Command_Numeric_MinMaxValues(MinMaxValuesDialog.Result result) => ReplaceSelections(string.Join(" ", new List<string> { result.Min ? result.CodePage.MinValue() : null, result.Max ? result.CodePage.MaxValue() : null }.Where(str => !string.IsNullOrEmpty(str))));
コード例 #2
0
		static public Result Run(Window parent)
		{
			var dialog = new MinMaxValuesDialog { Owner = parent };
			return dialog.ShowDialog() ? dialog.result : null;
		}