private void квадрат5x5ToolStripMenuItem_Click(object sender, EventArgs e) { Filtres filter = new GradFilter(MaskType.Square5); backgroundWorker1.RunWorkerAsync(filter); }
private void крестикToolStripMenuItem_Click(object sender, EventArgs e) { Filtres filter = new GradFilter(MaskType.Cross3); backgroundWorker1.RunWorkerAsync(filter); }