private void SetDecFormat(RADecFormat decFmt, bool force)
        {
            if (decFmt != decFormat_ || force)
            {
                ignoreDecChange_ = true;
                switch (decFmt)
                {
                case RADecFormat.HMS:
                case RADecFormat.DMS:
                    textBoxDecDeg.Width   = textBoxDecDegWidth_;
                    textBoxDecMin.Visible = true;
                    textBoxDecSec.Visible = true;
                    SetDec_DMS(dec_);
                    break;

                case RADecFormat.Degree:
                    textBoxDecDeg.Width   = textBoxDecSec.Right - textBoxDecDeg.Left;
                    textBoxDecMin.Visible = false;
                    textBoxDecSec.Visible = false;
                    textBoxDecDeg.Text    = dec_.ToString("F5");
                    break;
                }
                decFormat_       = decFmt;
                ignoreDecChange_ = false;
            }
        }
        private void SetRAFormat(RADecFormat raFmt, bool force)
        {
            if (raFmt != raFormat_ || force)
            {
                ignoreRAChange_ = true;
                switch (raFmt)
                {
                case RADecFormat.HMS:
                case RADecFormat.DMS:
                    textBoxRADeg.Width   = textBoxRADegWidth_;
                    textBoxRAMin.Visible = true;
                    textBoxRASec.Visible = true;
                    SetRA_HMS_DMS(raFmt == RADecFormat.HMS ? ra_hour_ : ra_hour_ * 15);
                    break;

                case RADecFormat.Degree:
                    textBoxRADeg.Width   = textBoxRASec.Right - textBoxRADeg.Left;
                    textBoxRAMin.Visible = false;
                    textBoxRASec.Visible = false;
                    textBoxRADeg.Text    = (ra_hour_ * 15).ToString("F5");
                    break;
                }
                raFormat_       = raFmt;
                ignoreRAChange_ = false;
            }
        }