//------------------------------------------------------------------------------------------- // Constructors and destructors //------------------------------------------------------------------------------------------- public DataGridComboBoxColumn() { combobox = new DataGridComboBox(); combobox.Visible = false; combobox.DropDownStyle = ComboBoxStyle.DropDownList; combobox.Leave += new EventHandler(ComboHide); combobox.SelectionChangeCommitted += new EventHandler(ComboStartEditing); edit = false; } // DataGridComboBoxColumn
//------------------------------------------------------------------------------------------- // Constructors and destructors //------------------------------------------------------------------------------------------- public DataGridComboBoxColumn() { combobox = new DataGridComboBox(); combobox.Visible = false; combobox.DropDownStyle = ComboBoxStyle.DropDownList; combobox.Leave += new EventHandler(ComboHide); combobox.SelectionChangeCommitted += new EventHandler(ComboStartEditing); edit = false; }