예제 #1
0
        private void инверсияToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Filters filter = new InvertFilter();

            backgroundWorker1.RunWorkerAsync(filter);
            images.Push(image);
        }
예제 #2
0
파일: Form1.cs 프로젝트: orcyyy/lab1
        private void инверсияToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Filters filter = new InvertFilter();

            backgroundWorker1.RunWorkerAsync(filter);
            Bitmap resultImage = filter.processImage(image);

            pictureBox1.Image = resultImage;
            pictureBox1.Refresh();
        }