private void операторПрюитаToolStripMenuItem_Click(object sender, EventArgs e) { Pruit filter = new Pruit(); Bitmap result = filter.processImage(image, backgroundWorker1); backgroundWorker1.RunWorkerAsync(filter); }
private void выделениеГраницToolStripMenuItem_Click(object sender, EventArgs e) { Filters filter = new Pruit(); backgroundWorker1.RunWorkerAsync(filter); }