private void btnNegative_Click(object sender, EventArgs e) { Negative negative = new Negative(); negative.setImage(new Bitmap(pictureBox1.Image)); negative.process(); pictureBox1.Image = negative.getImage(); }