public override void Initialize(System.ComponentModel.IComponent component) { base.Initialize(component); AutoResizeHandles = true; _container = (StatusContainer)component; _container.ControlAdded += new System.Windows.Forms.ControlEventHandler(OnPanelAdded); _container.ControlRemoved += new System.Windows.Forms.ControlEventHandler(OnControlRemoved); _designerHost = (IDesignerHost)component.Site.GetService(typeof(IDesignerHost)); }
public StatusContainerTypedControlCollection(StatusContainer owner) : base(owner) { _owner = owner; }
public override void Initialize(System.ComponentModel.IComponent component) { base.Initialize(component); AutoResizeHandles = true; _container = (StatusContainer)component; _container.ControlAdded += new System.Windows.Forms.ControlEventHandler(OnPanelAdded); _container.ControlRemoved += new System.Windows.Forms.ControlEventHandler(OnControlRemoved); _designerHost = (IDesignerHost)component.Site.GetService(typeof(IDesignerHost)); }
public StatusContainerTypedControlCollection(StatusContainer owner) : base(owner) { _owner = owner; }