Ejemplo n.º 1
0
 /// <summary>
 /// 获取语言包配置
 /// </summary>
 private void GetLanguage_STR()
 {
     this.Text = LanguageHelp.GetDlgItem("020000", "Nothing");
     ItemNode[] items = LanguageHelp.GetSubdlgItems("020000");
     label1.Text = items[0].label;
     btn1.Text   = items[1].label;
     btn2.Text   = items[2].label;
 }
Ejemplo n.º 2
0
        /// <summary>
        /// 获取语言包配置
        /// </summary>
        private void GetLanguage_STR()
        {
            this.Text = LanguageHelp.GetDlgItem("010000", "NOthing");
            ItemNode[] items = LanguageHelp.GetSubdlgItems("010000");
            btn_new.Text   = items[0].label;
            btnDel.Text    = items[1].label;
            lb.Text        = items[2].label;
            lb1.Text       = items[3].label;
            btnReturn.Text = items[4].label;
            ItemNode[] subItems = LanguageHelp.GetSsubdlgItems("010000", items[5].id);

            lv.Columns[0].Text = subItems[0].label;
            lv.Columns[1].Text = subItems[1].label;
            lv.Columns[2].Text = subItems[2].label;
            lv.Columns[3].Text = subItems[3].label;
        }