Esempio n. 1
0
        private void InitMenuControl()
        {
            menu                   = new MenuControl();
            menu.Location          = new Point(0, 0);
            menu.Size              = new Size(812, 24);
            menu.toolBar.Checked   = false;
            menu.statusBar.Checked = true;

            Controls.Add(menu);
        }
        public WindowService(
            MainWindowForm mainWindow,
            MenuControl menu,
            ToolBarControl toolBar,
            StatusStripControl statusStrip
            )
        {
            this.mainWindow    = mainWindow;
            this.menu          = menu;
            this.toolBar       = toolBar;
            this.statusStrip   = statusStrip;
            this.circleWindows = new Dictionary <string, CircleWindow>();

            InitMainWindowEvents();
            InitMenuEvents();
            InitToolBarEvents();
        }