private void квадрат5х5ToolStripMenuItem2_Click(object sender, EventArgs e) { Filters filter = new Opening(MaskType.Square5); backgroundWorker1.RunWorkerAsync(filter); }
private void крест3х3ToolStripMenuItem1_Click(object sender, EventArgs e) { Filters filter = new Opening(MaskType.Cross3); backgroundWorker1.RunWorkerAsync(filter); }