Esempio n. 1
0
 public MainForm()
 {
     InitializeComponent();
     presenter = new MainViewPresenter();
     presenter.AttachView(this);
     presenter.HandlePictureResized(sourcePictureBox.Width, sourcePictureBox.Height);
     sourcePictureBox.IsSource = true;
     processedPictureBox.ChangeSourceRequested += OnChangeSourceRequested;
     parametersGridView.DataError   += OnParametersGridViewDataError;
     algoritmsListCombo.SelectedItem = null;
 }
Esempio n. 2
0
 public MainForm()
 {
     InitializeComponent();
     presenter = new MainViewPresenter();
     presenter.AttachView(this);
     presenter.HandlePictureResized(sourcePictureBox.Width, sourcePictureBox.Height);
     sourcePictureBox.IsSource = true;
     processedPictureBox.ChangeSourceRequested += OnChangeSourceRequested;
     parametersGridView.DataError += OnParametersGridViewDataError;
     algoritmsListCombo.SelectedItem = null;
 }