示例#1
0
        private void InitLanguageFilesAndFillLanguageMenu()
        {
            Dictionary <string, string> lst = I18N.GetLanguageList();

            if (lst.Count > 0)
            {
                foreach (string k in lst.Keys)
                {
                    ToolStripMenuItem tsmi = new ToolStripMenuItem(lst[k], null, languageSubMenuToolStripMenuItem_Click);
                    tsmi.Tag = k;
                    languageToolStripMenuItem.DropDownItems.Add(tsmi);
                }
            }
        }