private void поОсиYToolStripMenuItem2_Click(object sender, EventArgs e) { if (pictureBox1.Enabled && !backgroundWorker1.IsBusy) { Filters filter = new SharYFilter(); backgroundWorker1.RunWorkerAsync(filter); } }
public SharFilter() { filter1 = new SharXFilter(); filter2 = new SharYFilter(); }