Пример #1
0
        private void initLang()
        {
            this.label1.Text    = LangPack.GetOption();
            this.DBTP.Text      = LangPack.GetDB();
            this.TcpTP.Text     = LangPack.GetTCP1();
            this.TcpTP1.Text    = LangPack.GetTCP2();
            this.LogTP.Text     = LangPack.GetLog();
            this.tabPage1.Text  = LangPack.GetBuzzer();
            this.OKBtn.Text     = LangPack.GetClose();
            this.CancleBtn.Text = LangPack.Getcancel();
            this.SaveBtn.Text   = LangPack.GetSave();

            this.DbIPLB.Text    = LangPack.GetDBIP();
            this.DbSidLB.Text   = LangPack.GetDBSID();
            this.DbIdLB.Text    = LangPack.GetDBID();
            this.DbPwLB.Text    = LangPack.GetDBPW();
            this.DbTestBtn.Text = LangPack.GetDBTest();
            this.Oracle8CB.Text = LangPack.Get8IDUSE();
            this.DbLB.Text      = LangPack.GetDBConnSet();

            this.TcpIpLB.Text     = LangPack.GetTCPIP();
            this.TcpPortLB.Text   = LangPack.GetTCPPORT();
            this.TcpConBtn.Text   = LangPack.GetTCPConnect();
            this.TcpCloseBtn.Text = LangPack.GetTCPClose();
            this.TcpLB.Text       = LangPack.GetOperationManagementTCPSetting();

            this.TcpIpLB1.Text     = LangPack.GetTCPIP();
            this.TcpPortLB1.Text   = LangPack.GetTCPPORT();
            this.TcpConBtn1.Text   = LangPack.GetTCPConnect();
            this.TcpCloseBtn1.Text = LangPack.GetTCPClose();
            this.TcpLB1.Text       = LangPack.GetControlPanelTCPSetting();

            this.LogCB.Text = LangPack.GetLogView();
            this.LogLB.Text = LangPack.GetTheLogwillscreen() + "\n" + LangPack.GetCanslowprogram();

            this.labelEx1.Text  = LangPack.GetBroadCastBuzzerSet();
            this.checkBox1.Text = LangPack.GetReal();
            this.checkBox2.Text = LangPack.GetDrill();
            this.checkBox3.Text = LangPack.GetTest();
        }