コード例 #1
0
 public static void PlainExecuted(Window parent, ExecutedRoutedEventArgs e)
 {
     if (thresholdWindow == null)
     {
         thresholdWindow = new ThresholdWindow(parent);
         thresholdWindow.OnClosedOnce = () => thresholdWindow = null;
     }
     thresholdWindow.Show();
     thresholdWindow.Activate();
     e.Handled = true;
 }
コード例 #2
0
ファイル: Filters.cs プロジェクト: vosen/UAM.ImageProcessing
 public static void PlainExecuted(Window parent, ExecutedRoutedEventArgs e)
 {
     if (thresholdWindow == null)
     {
         thresholdWindow = new ThresholdWindow(parent);
         thresholdWindow.OnClosedOnce = () => thresholdWindow = null;
     }
     thresholdWindow.Show();
     thresholdWindow.Activate();
     e.Handled = true;
 }