private void 红ToolStripMenuItem_Click(object sender, EventArgs e) { checkPictureBox1(); if (!valid) { return; } Bitmap bit = new Bitmap(pictureBox1.Image); pictureBox2.Refresh(); pictureBox2.Image = GraphicClass.getRedChannel(bit); }