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