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); }
private void maxBar_MouseUp(object sender, MouseEventArgs e) { PhotoEditorAlg.MakePhotoСontrast(pictureBox2, pictureBox3, minBar.Value / 100f, maxBar.Value / 100f); }