Ejemplo n.º 1
0
        /*
                public void Host_OnLoadComplete(object sender, EventArgs e)
                {	
                    if(!_rebar.Created) _rebar.CreateControl();
                }
        */
        public override void Initialize( IComponent component ) {
            base.Initialize( component );

            if ( Control is Rebar ) {
                _rebar = (Rebar)Control;
                /*
                mPropertyTree.PaneActivated += 
                    new PropertyTree.PaneActivatedEventHandler(ptPaneActivated); 
                    */
                _host = (IDesignerHost)
                    GetService( typeof( IDesignerHost ) );
                _selService = (ISelectionService)
                    GetService( typeof( ISelectionService ) );
                //_host.LoadComplete += new EventHandler(Host_OnLoadComplete);
                //if(!_rebar.Created) _rebar.CreateControl();
            }
        }
Ejemplo n.º 2
0
 public RebarBandCollection( Rebar rebar ) {
     _rebar = rebar;
 }