Пример #1
0
 private void btnGrayMag_Click(object sender, EventArgs e)
 {
     MagWindow newWindow = new MagWindow(new ImageMap(image, false), imageFit);
     newWindow.Text = "Grayscale Magnification";
     newWindow.Show();
 }
Пример #2
0
 private void btnColorMag_Click(object sender, EventArgs e)
 {
     MagWindow newWindow = new MagWindow(new ImageMap(image, true), imageFit);
     newWindow.Text = "Color Magnification";
     newWindow.Show();
 }