Example #1
0
 private void сепияToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (pictureBox1.Enabled && !backgroundWorker1.IsBusy)
     {
         Filters filter = new SepiaFilter();
         backgroundWorker1.RunWorkerAsync(filter);
     }
 }
Example #2
0
        private void сепияToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Filters filter = new SepiaFilter();

            backgroundWorker1.RunWorkerAsync(filter);
        }