Пример #1
0
 private void buttonBrightness_Click(object sender, EventArgs e)
 {
     try
     {
         bitmap = new Bitmap(pictureBox.Image);
         Bitmap editedBitmap = fip.ColorAccent(bitmap, 0, hScrollBarBrightness.Value);
         pictureBox.Image = editedBitmap;
         this.image       = editedBitmap;
     } catch
     {
         toolStripStatusLabel1.Text = "Coś poszło źle...";
     }
 }