Esempio n. 1
0
        public MenuCtrl(
            Services.FormMgr formMgrService,
            Views.WinForms.FormMain formMain,
            TabEditorCtrl editorCtrl,
            ToolStripMenuItem miNewWindow,
            ToolStripMenuItem miLoad,
            ToolStripMenuItem miSaveAs,
            ToolStripMenuItem miExit)
        {
            this.formMgrService = formMgrService;

            BindControls(formMain, editorCtrl);
            BindEvents(miNewWindow, miLoad, miSaveAs, miExit);
        }
Esempio n. 2
0
        public MenuCtrl(
            Services.FormMgr formMgrService,
            Views.WinForms.FormMain formMain,
            TabEditorCtrl editorCtrl,
            ToolStripMenuItem miNewWindow,
            ToolStripMenuItem miLoad,
            ToolStripMenuItem miSaveAs,
            ToolStripMenuItem miExit,

            TabControl tabControlMain)
        {
            this.formMgrService = formMgrService;

            this.editorCtrl     = editorCtrl;
            this.miNewWindow    = miNewWindow;
            this.miLoad         = miLoad;
            this.miSaveAs       = miSaveAs;
            this.miExit         = miExit;
            this.tabControlMain = tabControlMain;
            this.formMain       = formMain;
        }
Esempio n. 3
0
 private void BindControls(Views.WinForms.FormMain formMain, TabEditorCtrl editorCtrl)
 {
     // binding
     this.editorCtrl = editorCtrl;
     this.formMain   = formMain;
 }