Esempio n. 1
0
 //---negative image
 private void negativeToolStripMenuItem_Click(object sender, EventArgs e)
 {
     myImage.negative();
     panel.Refresh();
     if (histForm != null || histForm.IsDisposed == false)
     {
         myImage.HistCalculation();
         histForm.getIndex = myImage;
         histForm.Refresh();
     }
     if (gTransForm != null || gTransForm.IsDisposed == false)
     {
         myImage.HistCalculation();
         gTransForm.getIndex = myImage;
         gTransForm.Refresh();
     }
 }