예제 #1
0
        private void Inits()
        {
            #region 初始化信息
            tsm_SystemManagement.Text = ChangeLanguage.getLanguage("SystemManage");
            tsm_NoteManagement.Text   = ChangeLanguage.getLanguage("NoteBookManage");
            tsm_DocManagement.Text    = ChangeLanguage.getLanguage("DocManage");
            tsm_FormManagement.Text   = ChangeLanguage.getLanguage("FormManage");

            tsm_Language.Text = ChangeLanguage.getLanguage("Language");
            tsm_Chinese.Text  = ChangeLanguage.getLanguage("Chinese");
            tsm_English.Text  = ChangeLanguage.getLanguage("English");
            tsm_Help.Text     = ChangeLanguage.getLanguage("Help");
            tsm_About.Text    = ChangeLanguage.getLanguage("About");
            tsm_Contact.Text  = ChangeLanguage.getLanguage("Contact");
            tsm_Close.Text    = ChangeLanguage.getLanguage("DropOut");

            tsm_SplitNote.Text = ChangeLanguage.getLanguage("NoteSplit");
            tsm_MergeNote.Text = ChangeLanguage.getLanguage("NoteMerge");
            tsm_SplitDoc.Text  = ChangeLanguage.getLanguage("DocSplit");
            tsm_MergeDoc.Text  = ChangeLanguage.getLanguage("DocMerge");
            tsm_SplitForm.Text = ChangeLanguage.getLanguage("FormSplit");
            tsm_MergeForm.Text = ChangeLanguage.getLanguage("FormMerge");

            tsm_ToolManagement.Text           = ChangeLanguage.getLanguage("ToolManage");
            tsm_TranslationTool.Text          = ChangeLanguage.getLanguage("TranslationTool");
            tsm_SimpleCalculator.Text         = ChangeLanguage.getLanguage("SimpleCalculator");
            tsm_FileFormatConversionTool.Text = ChangeLanguage.getLanguage("FileFormatConversionTool");

            tbp_Index.Text = ChangeLanguage.getLanguage("Home");
            this.Text      = ChangeLanguage.getLanguage("FileManageTool");
            #endregion

            #region 窗体实例化与样式设置
            //文本分割
            splitNote = new NoteBookManage.NoteSplitForm();
            InitFormMethod(splitNote);

            //文本合并
            mergeNote = new NoteBookManage.NoteMergeForm();
            InitFormMethod(mergeNote);

            //文档分割
            splitDoc = new DocumentManage.DocSplitForm();
            InitFormMethod(splitDoc);

            //文档合并
            mergeDoc = new DocumentManage.DocMergeForm();
            InitFormMethod(mergeDoc);

            //表格分割
            splitSheet = new SheetManage.SheetSplitForm();
            InitFormMethod(splitSheet);

            //表格合并
            mergeSheet = new SheetManage.SheetMergeForm();
            InitFormMethod(mergeSheet);
            #endregion
        }
예제 #2
0
 private void btnTextSplitter_Click(object sender, EventArgs e)
 {
     NoteBookManage.NoteSplitForm textSplitter = new NoteBookManage.NoteSplitForm();
     textSplitter.ShowDialog();
 }