private void radioButton2_CheckedChanged(object sender, EventArgs e) { currentBefore = (Bitmap)beforeImage.getGreenBitmap().Clone(); currentAfter = (Bitmap)afterImage.getGreenBitmap().Clone(); pictureBox1.Image = currentBefore; pictureBox2.Image = currentAfter; }
private void radioButton2_CheckedChanged(object sender, EventArgs e) { image = originalImage.getGreenBitmap(); image2 = originalImage2.getGreenBitmap(); imageOrigin = (Bitmap)image.Clone(); imageOrigin2 = (Bitmap)image2.Clone(); imagePaint = new Bitmap(image.Width, image.Height); imagePaint2 = new Bitmap(image2.Width, image2.Height); pictureBox1.Image = image; pictureBox2.Image = image2; }
private void button3_Click(object sender, EventArgs e) { PictureShow newForm = new PictureShow(Colors.GREEN, colorModel, orgImg.getGreenBitmap(), modelImg, model); newForm.Show(); }