private void UpdateMatchStatus()
        {
            btnx_Schedule.Checked   = false;
            btnx_StartList.Checked  = false;
            btnx_Running.Checked    = false;
            btnx_Suspend.Checked    = false;
            btnx_Unofficial.Checked = false;
            btnx_Official.Checked   = false;
            btnx_Revision.Checked   = false;
            btnx_Canceled.Checked   = false;

            btnx_Schedule.Enabled   = false;
            btnx_StartList.Enabled  = false;
            btnx_Running.Enabled    = false;
            btnx_Suspend.Enabled    = false;
            btnx_Unofficial.Enabled = false;
            btnx_Official.Enabled   = false;
            btnx_Revision.Enabled   = false;

            int nStautusID = Common.dbGetMatchStatusID();

            switch (nStautusID)
            {
            case Common.STATUS_SCHEDULE:
            {
                btnx_StartList.Enabled     = true;
                btnx_Revision.Enabled      = true;
                btnx_Schedule.Checked      = true;
                btnx_MatchStatus.Text      = btnx_Schedule.Text;
                btnx_MatchStatus.ForeColor = System.Drawing.SystemColors.ControlText;
                break;
            }

            case Common.STATUS_STARTLIST:
            {
                btnx_Running.Enabled       = true;
                btnx_StartList.Checked     = true;
                btnx_MatchStatus.Text      = btnx_StartList.Text;
                btnx_MatchStatus.ForeColor = System.Drawing.SystemColors.ControlText;
                break;
            }

            case Common.STATUS_RUNNING:
            {
                btnx_Suspend.Enabled       = true;
                btnx_Unofficial.Enabled    = true;
                btnx_Running.Checked       = true;
                btnx_MatchStatus.Text      = btnx_Running.Text;
                btnx_MatchStatus.ForeColor = System.Drawing.Color.Red;
                break;
            }

            case Common.STATUS_SUSPEND:
            {
                btnx_Running.Enabled       = true;
                btnx_Suspend.Checked       = true;
                btnx_MatchStatus.Text      = btnx_Suspend.Text;
                btnx_MatchStatus.ForeColor = System.Drawing.Color.Red;
                break;
            }

            case Common.STATUS_UNOFFICIAL:
            {
                btnx_Official.Enabled      = true;
                btnx_Revision.Enabled      = true;
                btnx_Unofficial.Checked    = true;
                btnx_MatchStatus.Text      = btnx_Unofficial.Text;
                btnx_MatchStatus.ForeColor = System.Drawing.Color.LimeGreen;
                break;
            }

            case Common.STATUS_OFFICIAL:
            {
                btnx_Revision.Enabled      = true;
                btnx_Official.Checked      = true;
                btnx_MatchStatus.Text      = btnx_Official.Text;
                btnx_MatchStatus.ForeColor = System.Drawing.Color.LimeGreen;
                break;
            }

            case Common.STATUS_REVISION:
            {
                btnx_Official.Enabled      = true;
                btnx_Revision.Checked      = true;
                btnx_MatchStatus.Text      = btnx_Revision.Text;
                btnx_MatchStatus.ForeColor = System.Drawing.Color.LimeGreen;
                break;
            }

            case Common.STATUS_CANCELED:
            {
                btnx_Schedule.Enabled      = true;
                btnx_Canceled.Checked      = true;
                btnx_MatchStatus.Text      = btnx_Canceled.Text;
                btnx_MatchStatus.ForeColor = System.Drawing.SystemColors.ControlText;
                break;
            }
            }
        }