コード例 #1
0
ファイル: Form1.cs プロジェクト: Moczarski/ImageEditorCSharp
 private void buttonColorFilter_Click(object sender, EventArgs e)
 {
     try
     {
         bitmap = new Bitmap(pictureBox.Image);
         Bitmap editedBitmap = fip.ColorFiltration(bitmap, comboBoxFiltr.SelectedItem.ToString());
         pictureBox.Image = editedBitmap;
         this.image       = editedBitmap;
     }
     catch
     {
         toolStripStatusLabel1.Text = "Coś poszło źle...";
     }
 }