private void B_Click(object sender, RoutedEventArgs e)
 {
     Thresh[] threshList = new Thresh[Nbt];
     Console.WriteLine("coucou");
     for (int i = 0; i < Nbt; i++)
     {
         threshList[i].min = ((IntegerUpDown)VisualTreeHelper.GetChild(sp, 4 * i + 1)).Value.Value;
         threshList[i].val = ((IntegerUpDown)VisualTreeHelper.GetChild(sp, 4 * i + 2)).Value.Value;
         threshList[i].max = ((IntegerUpDown)VisualTreeHelper.GetChild(sp, 4 * i + 3)).Value.Value;
     }
     Mainwindow.multiThreshHold(threshList);
     this.Close();
 }
Exemplo n.º 2
0
 private void Gmin_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
 {
     System.Diagnostics.Process.GetCurrentProcess().Kill();
     Mainwindow.Close();
 }
 public ObjectForScriptingHelper(Window1w)
 {
     this.mExternalWPF = w;
 }