コード例 #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));
        }
コード例 #2
0
ファイル: StatusContainer.cs プロジェクト: windygu/AnkhSVN
 public StatusContainerTypedControlCollection(StatusContainer owner)
     : base(owner)
 {
     _owner = owner;
 }
コード例 #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));
        }
コード例 #4
0
ファイル: StatusContainer.cs プロジェクト: necora/ank_git
 public StatusContainerTypedControlCollection(StatusContainer owner)
     : base(owner)
 {
     _owner = owner;
 }