public TestForm(TestFormModel model) { m_Model = model; InitializeComponent(); m_ImagesSplitter.SplitterDistance = m_ImagesSplitter.Width / 2; Application.Idle += ProcessFrame; }
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(); } }