private void toolStripNegative_Click(object sender, EventArgs e) { string algoName = (string)toolStripNegative.Tag; var outImage = handler.ApplyFilter(pBoxIn.Image, algoName); pBoxOut.Image = new Bitmap(outImage); }