Пример #1
0
        public DropDownFormCellRenderer(GridControlBase grid, GridCellModelBase cellModel)
            : base(grid, cellModel)
        {
            this.ddForm = ((DropDownFormCellModel)this.Model).ddForm;

            this.AddButton(new GridCellComboBoxButton(this));
        }
Пример #2
0
 // sets ddForm and also reserves space for our button...
 public DropDownFormCellModel(GridModel grid, DropDownForm ddForm)
     : base(grid)
 {
     this.ddForm   = ddForm;
     ButtonBarSize = new Size(14, 18);
 }