Esempio n. 1
0
        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));
        }
Esempio n. 2
0
 public StatusContainerTypedControlCollection(StatusContainer owner)
     : base(owner)
 {
     _owner = owner;
 }
Esempio n. 3
0
        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));
        }
Esempio n. 4
0
 public StatusContainerTypedControlCollection(StatusContainer owner)
     : base(owner)
 {
     _owner = owner;
 }