public SliderItem()
 {
     this.m_BaseItemCollection = new BaseItemCollection(this);
     this.m_MinusButtonItem    = new SliderButtonItem(SliderButtonStyle.eMinusButton);
     this.m_BaseItemCollection.Add(this.m_MinusButtonItem);
     this.m_PlusButtonItem = new SliderButtonItem(SliderButtonStyle.ePlusButton);
     this.m_BaseItemCollection.Add(this.m_PlusButtonItem);
     this.m_SliderButtonItem = new SliderButtonItem(SliderButtonStyle.eSliderButton);
     this.m_BaseItemCollection.Add(this.m_SliderButtonItem);
     ((ILockCollectionHelper)this.m_BaseItemCollection).SetLocked(true);
 }
Exemple #2
0
 public RibbonApplicationPopupPanel()
 {
     this.m_BaseItemCollection = new BaseItemCollection(this);
     //((WFNew.ILockCollectionHelper)this.m_BaseItemCollection).SetLocked(false);//解锁
     this.m_RibbonApplicationPopupPanelMiddleLeft = new RibbonApplicationPopupPanelMiddleLeftItem(this);
     this.m_BaseItemCollection.Add(this.m_RibbonApplicationPopupPanelMiddleLeft);
     //((ISetOwnerHelper)this.m_RibbonApplicationPopupPanelMiddleLeft).SetOwner(this);
     this.m_RibbonApplicationPopupPanelMiddleRight = new RibbonApplicationPopupPanelMiddleRightItem(this);
     this.m_BaseItemCollection.Add(this.m_RibbonApplicationPopupPanelMiddleRight);
     //((ISetOwnerHelper)this.m_RibbonApplicationPopupPanelMiddleRight).SetOwner(this);
     this.m_RibbonApplicationPopupPanelBottom = new RibbonApplicationPopupPanelBottomItem(this);
     this.m_BaseItemCollection.Add(this.m_RibbonApplicationPopupPanelBottom);
     //((ISetOwnerHelper)this.m_RibbonApplicationPopupPanelBottom).SetOwner(this);
     ((WFNew.ILockCollectionHelper) this.m_BaseItemCollection).SetLocked(true);//加锁
 }
 public BaseItemHost()
 {
     this.m_BaseItemCollection            = new BaseItemCollection(this);
     this.m_BaseItemCollection.ItemAdded += new ItemEventHandler(BaseItemCollection_ItemAdded);
 }