private void btnSave_Click(object sender, RoutedEventArgs e)
        {
            btnSave.IsEnabled = btnCancel.IsEnabled = false;
            DispatcherHelper.DoEvents();

            string strLanguage = "0";

            if (rdbLanguage_Chinese.IsChecked == true)
            {
                strLanguage = "1";
            }
            if (rdbLanguage_French.IsChecked == true)
            {
                strLanguage = "3";
            }
            string strVmCode = tbVmCode_Value.Text;

            string strNetSwitch = "0";

            if (rdbNetSwitch_Stop.IsChecked == false)
            {
                strNetSwitch = "1";
            }
            string strNetPhoneNum = tbPhoneNum_Value.Text;
            string strNetPwd      = tbNetPwd_Value.Text;

            string strStockSwitch = "0";

            if (rdbStock_Stop.IsChecked == false)
            {
                strStockSwitch = "1";
            }

            string strKeyboard = "0";

            if (rdbKeyBoard_Small.IsChecked == false)
            {
                strKeyboard = "1";
            }

            // 保存数据
            PubHelper.p_BusinOper.UpdateSysCfgValue("VmCode", strVmCode);
            string strOldLanguage = "0";

            if (PubHelper.p_BusinOper.ConfigInfo.Language == Business.Enum.BusinessEnum.Language.Zh_CN)
            {
                strOldLanguage = "1";
            }

            if (strLanguage != strOldLanguage)
            {
                PubHelper.p_BusinOper.UpdateSysCfgValue("Language", strLanguage);
                bool blnResult = PubHelper.RefreshLanguage();
                PubHelper.p_IsRefreshLanguage = true;
            }

            PubHelper.p_BusinOper.UpdateSysCfgValue("NetSwitch", strNetSwitch);
            PubHelper.p_BusinOper.UpdateSysCfgValue("NetPhone", strNetPhoneNum);
            PubHelper.p_BusinOper.UpdateSysCfgValue("NetPwd", strNetPwd);

            PubHelper.p_BusinOper.UpdateSysCfgValue("IsRunStock", strStockSwitch);

            if (strKeyboard != PubHelper.p_BusinOper.ConfigInfo.KeyBoardType)
            {
                PubHelper.p_BusinOper.UpdateSysCfgValue("KeyBoardType", strKeyboard);
            }

            PubHelper.ShowMsgInfo(PubHelper.p_LangOper.GetStringBundle("Pub_OperSuc"), PubHelper.MsgType.Ok);
            this.Close();
        }