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