示例#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();
 }