Esempio n. 1
0
        private void LanguageChange()
        {
            this.Text = MultiLanguage.GetText("frmMain_text");

            btnView.Text                       = MultiLanguage.GetText("btnView_text");
            btnEdit.Text                       = MultiLanguage.GetText("btnEdit_text");
            btnCopy.Text                       = MultiLanguage.GetText("btnCopy_text");
            btnMove.Text                       = MultiLanguage.GetText("btnMove_text");
            btnNewFolder.Text                  = MultiLanguage.GetText("btnNewFolder_text");
            btnDelete.Text                     = MultiLanguage.GetText("btnDelete_text");
            btnExit.Text                       = MultiLanguage.GetText("btnExit_text");
            menuFiles.Text                     = MultiLanguage.GetText("menuFile_text");
            menuMask.Text                      = MultiLanguage.GetText("menuMark_text");
            btnBack.Text                       = MultiLanguage.GetText("btnBack_text");
            btnReload.Text                     = MultiLanguage.GetText("btnReload_text");
            btnFoward.Text                     = MultiLanguage.GetText("btnFoward_text");
            btnSearch.Text                     = MultiLanguage.GetText("btnSearch_text");
            btnSelectAll.Text                  = MultiLanguage.GetText("btnSelectAll_text");
            btnUnselectAll.Text                = MultiLanguage.GetText("btnUnselectAll_text");
            btnInvertSelection.Text            = MultiLanguage.GetText("btnInvertSelection_text");
            btnSelectAllWithSameExtension.Text = MultiLanguage.GetText("btnSelectAllWithSameExt_text");

            btnViewTree.Text = MultiLanguage.GetText("btnShowTree_text");
            showTreeToolStripMenuItem.Text    = MultiLanguage.GetText("btnShowTree_text");
            showTree1ToolStripMenuItem.Text   = MultiLanguage.GetText("btnShowTree1_text");
            showTree2ToolStripMenuItem.Text   = MultiLanguage.GetText("btnShowTree2_text");
            showTree1ToolStripMenuItem1.Text  = MultiLanguage.GetText("btnShowTree1_text");
            showTree2ToolStripMenuItem1.Text  = MultiLanguage.GetText("btnShowTree2_text");
            rereadSoureToolStripMenuItem.Text = MultiLanguage.GetText("btnReload_text");

            menuAbout.Text = MultiLanguage.GetText("menuAbout_text");
            //btnNotepad.Text = MultiLanguage.GetText("btnNotepad_text");
            menuLanguage.Text  = MultiLanguage.GetText("menu_language_text");
            menuShow.Text      = MultiLanguage.GetText("menu_show_text");
            btnViewDetail.Text = MultiLanguage.GetText("view_detail_text");
            btnViewList.Text   = MultiLanguage.GetText("view_list_text");
            btnShowDetail.Text = MultiLanguage.GetText("view_detail_text");
            btnShowList.Text   = MultiLanguage.GetText("view_list_text");

            btnRename.Text = MultiLanguage.GetText("btnRename_text");
            btnCopy1.Text  = MultiLanguage.GetText("Copy_text");
            btnMove1.Text  = MultiLanguage.GetText("move_text");

            btnExchange.Text = MultiLanguage.GetText("btnExchange_text");
            btnEqual.Text    = MultiLanguage.GetText("btnEqual_text");

            List1.LanguageChange();
            List2.LanguageChange();

            if (frmsearch != null)
            {
                frmsearch.LanguageChange();
            }
        }