private void button10_Click(object sender, EventArgs e) { Bitmap twoBmp; ProcessFunctions.TwoDivision_Change(bitmap, out twoBmp, 150); pictureBox2.Image = ToolFunctions.GetThumbnail((Bitmap)twoBmp.Clone(), pictureBox2.Height, pictureBox2.Width) as Image; }
private void Button_TwoD_Click(object sender, System.EventArgs e) { Bitmap twoVBmp; ProcessFunctions.TwoDivision_Change(bitmap, out twoVBmp, trackBar_DV.Value); this.pictureBox_WorkPlace.Image = ToolFunctions.GetThumbnail((Bitmap)twoVBmp.Clone(), pictureBox_WorkPlace.Height, pictureBox_WorkPlace.Width) as Image; }