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

            Filters filter = new InvertFilter();

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

            backgroundWorker1.RunWorkerAsync(filter);
        }