private void InversionToolStripMenuItem_Click(object sender, EventArgs e) { temp_image = new Bitmap(pictureBox1.Image); Filters filter = new InvertFilter(); backgroundWorker1.RunWorkerAsync(filter); }
private void инверсияToolStripMenuItem_Click(object sender, EventArgs e) { Filters filter = new InvertFilter(); backgroundWorker1.RunWorkerAsync(filter); /*Bitmap resultImage = filter.proccessImage(image, backgroundWorker1); * pictureBox1.Image = resultImage; * pictureBox1.Refresh();*/ }
private void инверсияToolStripMenuItem_Click(object sender, EventArgs e) { InvertFilter filter = new InvertFilter(); backgroundWorker1.RunWorkerAsync(filter); }