Exemple #1
0
        private void InitStatusStripControl()
        {
            statusStrip          = new StatusStripControl();
            statusStrip.Visible  = true;
            statusStrip.Size     = new System.Drawing.Size(Size.Width, 24);
            statusStrip.Location = new System.Drawing.Point(0, (Size.Height - statusStrip.Size.Height));

            Controls.Add(statusStrip);
        }
        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();
        }