Esempio n. 1
0
        private void InversionToolStripMenuItem_Click(object sender, EventArgs e)
        {
            temp_image = new Bitmap(pictureBox1.Image);

            Filters filter = new InvertFilter();

            backgroundWorker1.RunWorkerAsync(filter);
        }
Esempio n. 2
0
        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();*/
        }
Esempio n. 3
0
        private void инверсияToolStripMenuItem_Click(object sender, EventArgs e)
        {
            InvertFilter filter = new InvertFilter();

            backgroundWorker1.RunWorkerAsync(filter);
        }