private void radioButton3_CheckedChanged(object sender, EventArgs e) { currentBefore = (Bitmap)beforeImage.getBlueBitmap().Clone(); currentAfter = (Bitmap)afterImage.getBlueBitmap().Clone(); pictureBox1.Image = currentBefore; pictureBox2.Image = currentAfter; }
private void radioButton3_CheckedChanged(object sender, EventArgs e) { image = originalImage.getBlueBitmap(); image2 = originalImage2.getBlueBitmap(); 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 button2_Click(object sender, EventArgs e) { PictureShow newForm = new PictureShow(Colors.BLUE, colorModel, orgImg.getBlueBitmap(), modelImg, model); newForm.Show(); }