private void B_Negative_Click(object sender, EventArgs e) { Bitmap image = new Bitmap(imgPreview); Bitmap negative = Negative.build(image); //previewPB.Image = negative; //imgPreview = previewPB.Image; imgPreview = negative; RGBChannelChanged(); B_RefHis.Visible = true; }