/// <summary> /// Default constructor. /// </summary> public WComboBox() { // This call is required by the Windows.Forms Form Designer. InitializeComponent(); // TODO: Add any initialization after the InitForm call m_pTextBox.LostFocus += new System.EventHandler(this.m_pTextBox_OnLostFocus); m_WComboItems = new WComboItems(); m_DrawGrayImgForReadOnly = false; }
/// <summary> /// Default constructor. /// </summary> public WComboBox() { // This call is required by the Windows.Forms Form Designer. InitializeComponent(); // TODO: Add any initialization after the InitForm call m_pTextBox.LostFocus += new System.EventHandler(this.m_pTextBox_OnLostFocus); m_WComboItems = new WComboItems(); m_DrawGrayImgForReadOnly = false; }
/// <summary> /// Default constructor. /// </summary> public WComboBox() { // This call is required by the Windows.Forms Form Designer. InitializeComponent(); // TODO: Add any initialization after the InitForm call m_pTextBox.LostFocus += new System.EventHandler(this.m_pTextBox_OnLostFocus); // m_pTextBox.TextChanged += new System.EventHandler(this.m_pTextBox_TextChanged); m_WComboItems = new WComboItems(this); m_DropDownWidth = this.Width; m_pTextBox.HideSelection = false; }