Exemplo n.º 1
0
        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();
            }
        }
Exemplo n.º 2
0
        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();
            }
        }