public CustomizeComboBoxItem(ICustomizePopup pCustomizePopup) : base() { this.m_InputRegion = new InputRegion(this); this.m_InputRegion.PopupClosed += new EventHandler(InputRegion_PopupClosed); // this.m_pCustomizePopup = pCustomizePopup; ((ISetOwnerHelper)this.m_pCustomizePopup).SetOwner(this); this.m_pCustomizePopup.PopupOpened += new EventHandler(CustomizePopup_PopupOpened); this.m_pCustomizePopup.PopupClosed += new EventHandler(CustomizePopup_PopupClosed); }
public CustomizeComboBox(ICustomizePopup pCustomizePopup) : base() { this.SetStyle(ControlStyles.FixedHeight, false); this.UpdateStyles(); // this.m_InputRegion = new InputRegion(this); this.m_InputRegion.PopupClosed += new EventHandler(InputRegion_PopupClosed); // this.m_pCustomizePopup = pCustomizePopup; ((ISetOwnerHelper)this.m_pCustomizePopup).SetOwner(this); this.m_pCustomizePopup.PopupOpened += new EventHandler(CustomizePopup_PopupOpened); this.m_pCustomizePopup.PopupClosed += new EventHandler(CustomizePopup_PopupClosed); }