private void btnSolveConfiguration_Click(object sender, EventArgs e) { frmSolveConfiguration frmSolveConfig = new frmSolveConfiguration(m_AstrometryController, m_VideoController); frmSolveConfig.StartPosition = FormStartPosition.CenterParent; if (frmSolveConfig.ShowDialog(this.ParentForm) == DialogResult.OK) { AstrometryContext.Current.FieldSolveContext = frmSolveConfig.Context; UpdateState(1); m_CalibrationTool.ActivateCalibration(); } }