private void OnTestButtonClick(object sender, EventArgs e) { using (TestFormModel testFormModel = m_Model.CreateTestFormModel()) { TestForm testForm = new TestForm(testFormModel); testForm.ShowDialog(); } }
private void OnTestButtonClicked(object sender, EventArgs e) { UpdateCameraParametersFromUI(); using (TestFormModel testFormModel = m_Model.CreateTestFormModel()) { TestForm testForm = new TestForm(testFormModel); testForm.ShowDialog(); } }