Exemple #1
0
 public Form1()
 {
     InitializeComponent();
     PhotoEditorAlg.SetPhoto(BasicImg);
     PhotoEditorAlg.MakePhotoGray(BasicImg, pictureBox2);
     PhotoEditorAlg.MakePhotoСontrast(pictureBox2, pictureBox3, minBar.Value / 100f, maxBar.Value / 100f);
     PhotoEditorAlg.MakePhotoGray(BasicImg, pictureBox4);
 }
Exemple #2
0
 private void maxBar_MouseUp(object sender, MouseEventArgs e)
 {
     PhotoEditorAlg.MakePhotoСontrast(pictureBox2, pictureBox3, minBar.Value / 100f, maxBar.Value / 100f);
 }