예제 #1
0
            public DataGridComboBoxColumn()
                : base()
            {
                _source    = null;
                _isEditing = false;
                _RowCount  = -1;

                ColumnComboBox = new NoKeyUpCombo();
                ColumnComboBox.DropDownStyle = ComboBoxStyle.DropDownList;

                ColumnComboBox.Leave += new EventHandler(LeaveComboBox);
                //		ColumnComboBox.Enter += new EventHandler(ComboMadeCurrent);
                ColumnComboBox.SelectionChangeCommitted += new EventHandler(ComboStartEditing);
            }
예제 #2
0
 public DataGridComboBoxColumn(DataGrid dgForms, DataTable xdt, string columnName)
     : base()
 {
     _source        = null;
     _isEditing     = false;
     _RowCount      = -1;
     _columnName    = columnName;
     ColumnComboBox = new NoKeyUpCombo();
     ColumnComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
     ColumnComboBox.Leave        += new EventHandler(LeaveComboBox);
     //		ColumnComboBox.Enter += new EventHandler(ComboMadeCurrent);
     ColumnComboBox.SelectionChangeCommitted += new EventHandler(ComboStartEditing);
     this.dgForms = dgForms;
     this.xdt     = xdt;
 }
예제 #3
0
 public DataGridComboBoxColumn(DataGrid dgForms, DataTable xdt, string columnName)
     : base()
 {
     _source = null;
     _isEditing = false;
     _RowCount = -1;
     _columnName = columnName;
     ColumnComboBox = new NoKeyUpCombo();
     ColumnComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
     ColumnComboBox.Leave += new EventHandler(LeaveComboBox);
     //		ColumnComboBox.Enter += new EventHandler(ComboMadeCurrent);
     ColumnComboBox.SelectionChangeCommitted += new EventHandler(ComboStartEditing);
     this.dgForms = dgForms;
     this.xdt = xdt;
 }
예제 #4
0
            public DataGridComboBoxColumn()
                : base()
            {
                _source = null;
                _isEditing = false;
                _RowCount = -1;

                ColumnComboBox = new NoKeyUpCombo();
                ColumnComboBox.DropDownStyle = ComboBoxStyle.DropDownList;

                ColumnComboBox.Leave += new EventHandler(LeaveComboBox);
                //		ColumnComboBox.Enter += new EventHandler(ComboMadeCurrent);
                ColumnComboBox.SelectionChangeCommitted += new EventHandler(ComboStartEditing);
            }