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