Exemplo n.º 1
0
 private void Bin_Click(object sender, RoutedEventArgs e)
 {
     if (mainControl.OriginalGrayscaleImage != null)
     {
         if (T_SHOW)
         {
             T_SHOW = false;
             tdialog.Close();
         }
         else
         {
             tdialog = new Windows.tDialog(this, false);
             tdialog.Show();
             T_SHOW = true;
         }
     }
 }
Exemplo n.º 2
0
 private void Bin_2D_Click(object sender, RoutedEventArgs e)
 {
     if (mainControl.OriginalColorImage != null)
     {
         if (T_SHOW)
         {
             T_SHOW = false;
             tdialog.Close();
         }
         else
         {
             tdialog = new Windows.tDialog(this);
             tdialog.Show();
             T_SHOW = true;
         }
         // mainControl.ProcessedGrayscaleImage=Tools.Mirror(mainControl.OriginalGrayscaleImage);
     }
 }