public ServersSettingsController(ServerListControl serverListControl,
            ProjectListControl projectListControl,
            BarStaticItem statusTextItem, 
            BarEditItem statusProgressItem)
        {
            this.serverListControl = serverListControl;
            this.projectListControl = projectListControl;
            this.statusTextItem = statusTextItem;
            this.statusProgressItem = statusProgressItem;

            configurationService = (ConfigurationService)ContextRegistry.GetContext().GetObject("ConfigurationService");
            hudsonService = (HudsonService)ContextRegistry.GetContext().GetObject("HudsonService");
            serverListControl.ConfigurationService = configurationService;
            projectListControl.ConfigurationService = configurationService;
            projectListControl.HudsonService = hudsonService;
        }
        public ServersSettingsController(ServerListControl serverListControl,
                                         ProjectListControl projectListControl,
                                         BarStaticItem statusTextItem,
                                         BarEditItem statusProgressItem)
        {
            this.serverListControl  = serverListControl;
            this.projectListControl = projectListControl;
            this.statusTextItem     = statusTextItem;
            this.statusProgressItem = statusProgressItem;

            configurationService = (ConfigurationService)ContextRegistry.GetContext().GetObject("ConfigurationService");
            hudsonService        = (HudsonService)ContextRegistry.GetContext().GetObject("HudsonService");
            serverListControl.ConfigurationService  = configurationService;
            projectListControl.ConfigurationService = configurationService;
            projectListControl.HudsonService        = hudsonService;
        }