Example #1
0
 public TestForm(TestFormModel model)
 {
     m_Model = model;
     InitializeComponent();
     m_ImagesSplitter.SplitterDistance = m_ImagesSplitter.Width / 2;
     Application.Idle += ProcessFrame;
 }
Example #2
0
 private void OnTestButtonClick(object sender, EventArgs e)
 {
     using (TestFormModel testFormModel = m_Model.CreateTestFormModel())
     {
         TestForm testForm = new TestForm(testFormModel);
         testForm.ShowDialog();
     }
 }
Example #3
0
 private void OnTestButtonClicked(object sender, EventArgs e)
 {
     UpdateCameraParametersFromUI();
     using (TestFormModel testFormModel = m_Model.CreateTestFormModel())
     {
         TestForm testForm = new TestForm(testFormModel);
         testForm.ShowDialog();
     }
 }