示例#1
0
        private void InitLang()
        {
            btnView.Text     = LangPack.GetPreview();
            btnAdd.Text      = LangPack.GetAdd();
            btnEdit.Text     = LangPack.GetEdit();
            btnDel.Text      = LangPack.GetDelete();
            btnKindAdd.Text  = LangPack.GetAdd();
            btnKindEdit.Text = LangPack.GetEdit();
            btnKindDel.Text  = LangPack.GetDelete();
            btnClose.Text    = LangPack.GetClose();
            btnClear.Text    = LangPack.GetClear();

            if (LangPack.IsEng)
            {
                label1.Text   = "CG Edit";
                tabPage2.Text = "Kind List";
                tabPage1.Text = "Text List";
            }
            else
            {
                label1.Text   = "Текст засварлах";
                tabPage2.Text = "Мэдээллийн төрөл";
                tabPage1.Text = "Текстийн жагсаалт";
            }
        }
示例#2
0
        private void InitLang()
        {
            btnCancel.Text = LangPack.GetCancel();
            btnClose.Text  = LangPack.GetClose();

            if (LangPack.IsEng)
            {
                label8.Text    = "Auto Alert";
                groupBox1.Text = "Auto Alert Information";
                label2.Text    = "Mode";
                label9.Text    = "Auto Alert";
                label1.Text    = "Intensity";
                label10.Text   = "Send to CBS";
                label3.Text    = "Stored Message";
                btnImd.Text    = "Immediately Alert";
                lbSec.Text     = "(sec)";
            }
            else
            {
                label8.Text    = "Автомат түгшүүр";
                groupBox1.Text = "Автомат түгшүүрийн мэдээлэл";
                label2.Text    = "Горим";
                label9.Text    = "Түгшүүр";
                label1.Text    = "хүчдэл";
                label10.Text   = "Масс мессеж систем";
                label3.Text    = "Хадгалагдсан мэдээлэл";
                btnImd.Text    = "Яаралтай түгшүүр";
                lbSec.Text     = "(Сек)";
            }
        }
示例#3
0
        private void InitLang()
        {
            btnClose.Text = LangPack.GetClose();

            if (LangPack.IsEng)
            {
                label6.Text = "CG Preview";
            }
            else
            {
                label6.Text = "Текст урьдчилан харах";
            }
        }
示例#4
0
        private void InitLang()
        {
            btnAdd.Text   = LangPack.GetAdd();
            btnEdit.Text  = LangPack.GetEdit();
            btnDel.Text   = LangPack.GetDelete();
            btnClose.Text = LangPack.GetClose();

            if (LangPack.IsEng)
            {
                label1.Text = "Group Edit";
            }
            else
            {
                label1.Text = "Бүлэг засварлах";
            }
        }
示例#5
0
        private void InitLang()
        {
            label1.Text   = LangPack.GetStoredMsg();
            btnAdd.Text   = LangPack.GetAdd();
            btnEdit.Text  = LangPack.GetEdit();
            btnDel.Text   = LangPack.GetDelete();
            btnClose.Text = LangPack.GetClose();
            button1.Text  = LangPack.GetPlay();
            lbTime.Text   = "[0 " + LangPack.GetSec() + "]";

            if (LangPack.IsEng)
            {
                lbNumText.Text = "▶ Stored Message Number :  ";
            }
            else
            {
                lbNumText.Text = "▶ Хадгалагдсан мессежийн дугаар :  ";
            }
        }
示例#6
0
        private void InitLang()
        {
            label2.Text   = LangPack.GetName();
            label1.Text   = LangPack.GetNumber();
            label3.Text   = LangPack.GetText();
            label4.Text   = LangPack.GetTime();
            label6.Text   = LangPack.GetSec();
            btnSve.Text   = LangPack.GetSave();
            btnClose.Text = LangPack.GetClose();

            if (LangPack.IsEng)
            {
                label8.Text = "Stored Message Edit";
            }
            else
            {
                label8.Text = "Хадглагдсан мессеж засварлах";
            }
        }
示例#7
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();
        }
示例#8
0
        private void InitLang()
        {
            btnClose.Text  = LangPack.GetClose();
            btnSave.Text   = LangPack.GetSave();
            btnView.Text   = LangPack.GetPreview();
            cutAddBtn.Text = LangPack.GetCutAdd();
            label1.Text    = LangPack.GetKind();
            label5.Text    = LangPack.GetName();
            label2.Text    = LangPack.GetText();
            label7.Text    = LangPack.GetCut();

            if (LangPack.IsEng)
            {
                label6.Text = "CG Edit";
                label4.Text = "Byte count : ";
            }
            else
            {
                label6.Text = "Текст засварлах";
                label4.Text = "Бит : ";
            }
        }
示例#9
0
        private void InitCtrl()
        {
            if (this.bOrder)
            {
                btnClear.Visible    = true;
                btnClose.Text       = LangPack.Getselect();
                btnView.Visible     = false;
                btnDel.Visible      = false;
                btnAdd.Visible      = false;
                btnEdit.Visible     = false;
                btnKindAdd.Visible  = false;
                btnKindDel.Visible  = false;
                btnKindEdit.Visible = false;

                tabKind.Size = new Size(tabKind.Size.Width, tabKind.Size.Height + 44);
                tabText.Size = new Size(tabText.Size.Width, tabText.Size.Height + 44);

                lvText.CheckBoxes = false;
            }
            else
            {
                btnClear.Visible  = false;
                btnClose.Text     = LangPack.GetClose();
                btnClose.Location = new Point(674, 463);
            }

            #region Init List Header
            ColumnHeader h0 = new ColumnHeader();
            h0.Text  = "";
            h0.Width = 50;
            this.lvText.Columns.Add(h0);

            //ColumnHeader h3 = new ColumnHeader();
            //h3.Text = "";
            //h3.Width = 30;
            //this.lvText.Columns.Add(h3);

            ColumnHeader h1 = new ColumnHeader();
            h1.Text  = LangPack.GetName();
            h1.Width = 100;
            this.lvText.Columns.Add(h1);

            ColumnHeader h2 = new ColumnHeader();
            h2.Text  = LangPack.GetText();
            h2.Width = 300;
            this.lvText.Columns.Add(h2);

            //ColumnHeader h3 = new ColumnHeader();
            //h3.Text = "Blink";
            //h3.Width = 50;
            //this.lvText.Columns.Add(h3);
            #endregion

            AddTreeData();

            if (this.bOrder && this.brdInfo != null)
            {
                foreach (TreeNode node in tvKind.Nodes)
                {
                    if (node.Text == this.brdInfo.kind)
                    {
                        tvKind.SelectedNode = node;
                        break;
                    }
                }
            }
        }