private void btnGrayscale_Click(object sender, EventArgs e) { Grayscale gray = new Grayscale(); initSourceMap(); gray.setImage(_imageTemp); actions(gray, "Grayscale"); }