private void OnCalibrateButtonClicked(object sender, EventArgs e) { CalibrateDialogModel calibrateDialogModel = new CalibrateDialogModel(m_Model); CalibrateDialog calibrateDialog = new CalibrateDialog(calibrateDialogModel); calibrateDialog.ShowDialog(); }
public CalibrateDialog(CalibrateDialogModel model) { m_Model = model; InitializeComponent(); UpdateFromCameraParameters(); UpdateFromCalibrationFlags(); }