Exemple #1
0
        public virtual ItemPlantilla CrearItem()
        {
            ItemPlantilla Item = new ItemPlantilla();

            Items.Add(Item);
            return(Item);
        }
Exemple #2
0
 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(); }            
 }
Exemple #3
0
 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);
     }
 }
Exemple #4
0
 public virtual ItemPlantilla CrearItem() {
     ItemPlantilla Item = new ItemPlantilla();
     Items.Add(Item);
     return Item;
 }