Beispiel #1
0
        private void blackAndWhiteToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (checkOriginalPhoto())
            {
                imageProcessing.editedBitmap = null;
                filterNameTextBox.Text       = blackAndWhiteToolStripMenuItem.Text;
                imageProcessing.editedBitmap = BlackAndWhite.Edit(imageProcessing.originalBitmap);

                if (imageProcessing.editedBitmap != null)
                {
                    editedPhoto.Image = (Image)imageProcessing.editedBitmap;
                }
            }
        }