private void фильтрСоболяToolStripMenuItem_Click(object sender, EventArgs e) { Filter filter = new SobelFilter(); backgroundWorker1.RunWorkerAsync(filter); }
private void sobelToolStripMenuItem_Click(object sender, EventArgs e) { SobelFilter sf = new SobelFilter(); backgroundWorker1.RunWorkerAsync(sf); }