private void inversionToolStripMenuItem_Click(object sender, EventArgs e) { InvertFilter invertFilter = new InvertFilter(); //pictureBox1.Image = invertFilter.processImage(image); //pictureBox1.Refresh(); backgroundWorker1.RunWorkerAsync(invertFilter); }
private void инверсияToolStripMenuItem_Click(object sender, EventArgs e) { Filter filter = new InvertFilter(); backgroundWorker1.RunWorkerAsync(filter); }