private void InitializeDocPanels() { _Storage = new Storage(); dockPanelConfigManager1.Storage = _Storage; dockPanelConfigManager1.Panel = this.splitContainer1.Panel2.Controls; if (!_WorkSpace.Contains(ConfigurationType.ConfigurationManager)) { dockPanelConfigManager1.Storage = _Storage; dockPanelConfigManager1.Enter += new EventHandler(_dockPanelConfigManager_Enter); _WorkSpace.Add(dockPanelConfigManager1, ConfigurationType.ConfigurationManager); } }
void AddWorkSpaceItem(WorkSpaceViewModel w) { WorkSpace.Add(w); }