Ejemplo n.º 1
0
        public DropDownUserCellRenderer(GridControlBase grid, GridCellModelBase cellModel)
            : base(grid, cellModel)
        {
            this.ddUser         = ((DropDownUserCellModel)this.Model).ddUser;
            this.ddUser.Visible = false;
            DropDownPart        = new GridDropDownCellImp(this);
            DropDownButton      = new GridCellComboBoxButton(this);

            //hook the usercontrol save and cancel events...
            this.ddUser.UserControlSave   += new EventHandler(user_Save);
            this.ddUser.UserControlCancel += new EventHandler(user_Cancel);
        }
Ejemplo n.º 2
0
 public DropDownUserCellModel(GridModel grid, DropDownUser ddUser)
     : base(grid)
 {
     this.ddUser   = ddUser;
     ButtonBarSize = new Size(14, 14);
 }