private void btn_ManualInputNumber_Click(object sender, EventArgs e)
        {
            Form_AdvancedFunc_Login F_Ad_Login = new Form_AdvancedFunc_Login();

            F_Ad_Login.Show();
            while (!F_Ad_Login.IsDisposed)
            {
                Application.DoEvents();
                this.Enabled = false;  // 主界面使能禁止 不可使用
            }
            this.Enabled = true;
            //

            m_bInputFindCodeSaveDB_NoMark  = true;
            m_bContinueMark_UnderCompareNG = false;
        }
        private void btn_CancelMark_Click(object sender, EventArgs e)
        {
            Form_AdvancedFunc_Login F_Ad_Login = new Form_AdvancedFunc_Login();

            F_Ad_Login.Show();
            while (!F_Ad_Login.IsDisposed)
            {
                Application.DoEvents();
                this.Enabled = false;  // 主界面使能禁止 不可使用
            }
            this.Enabled = true;
            //

            m_bContinueMark_Flag = false;

            Dispose();
        }
        private void btn_ContinumMark_Click(object sender, EventArgs e)
        {
            Form_AdvancedFunc_Login F_Ad_Login = new Form_AdvancedFunc_Login();

            F_Ad_Login.Show();
            while (!F_Ad_Login.IsDisposed)
            {
                Application.DoEvents();
                this.Enabled = false;  // 主界面使能禁止 不可使用
            }
            this.Enabled = true;

            if (Form_AdvancedFunc_Login.m_bAdminLogin == false)
            {
                return;
            }

            //
            m_bContinueMark_UnderCompareNG = true;
            m_bInputFindCodeSaveDB_NoMark  = false;

            Dispose();
        }
        private void btn_ContinueMark_Click(object sender, EventArgs e)
        {
            Form_AdvancedFunc_Login F_Ad_Login = new Form_AdvancedFunc_Login();

            F_Ad_Login.Show();
            while (!F_Ad_Login.IsDisposed)
            {
                Application.DoEvents();
                this.Enabled = false;  // 主界面使能禁止 不可使用
            }
            this.Enabled = true;
            //
            if (Form_AdvancedFunc_Login.m_bAdminLogin == false)
            {
                return;
            }

            m_bContinueMark_btnFlag = true;

            PersistentData.CodeSaveToDB = tbx_PLCSend2ndCode.Text;

            Dispose();
        }
        private void btn_SaveCodeAsPCOriginalCode_Click(object sender, EventArgs e)
        {
            Form_AdvancedFunc_Login F_Ad_Login = new Form_AdvancedFunc_Login();

            F_Ad_Login.Show();
            while (!F_Ad_Login.IsDisposed)
            {
                Application.DoEvents();
                this.Enabled = false;  // 主界面使能禁止 不可使用
            }
            this.Enabled = true;
            if (Form_AdvancedFunc_Login.m_bAdminLogin == false)
            {
                return;
            }
            //

            PersistentData.CodeSaveToDB     = tbx_OriginalCode.Text;
            m_bContinueMark_Flag            = true;
            m_bContinueMarkWithPLCCode_Flag = false;
            m_bContinueMarkWithPCCode_Flag  = true;

            Dispose();
        }