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..."; } }