public virtual ItemPlantilla CrearItem() { ItemPlantilla Item = new ItemPlantilla(); Items.Add(Item); return(Item); }
private void utPlantilla_AfterSelect(object sender, SelectEventArgs e) { UltraTreeNode Node = utPlantilla.ActiveNode; if (Node.Tag != null) { ItemPlantilla = (ItemPlantilla)Node.Tag; MostrarItem(utPlantilla.ActiveNode); utcDetalle.Enabled = true; } else { DeshabilitarControles(); } }
public void MostrarServicios(ItemPlantilla ItemPlantilla) { base.ClearAllRows(ref ugServicios); foreach (ItemPlantillaServicio Item in ItemPlantilla.Servicios) { UltraGridRow Row = ugServicios.DisplayLayout.Bands[0].AddNew(); Row.Tag = Item; MostrarServicio(Row); } }
public virtual ItemPlantilla CrearItem() { ItemPlantilla Item = new ItemPlantilla(); Items.Add(Item); return Item; }