Example #1
0
 private void spIdAlmacen_EditValueChanged(object sender, EventArgs e)
 {
     if (spIdAlmacen.Value > 0)
     {
         Warehouse           oWarehouse = new Warehouse();
         WarehouseController wareCont   = new WarehouseController();
         oWarehouse   = wareCont.getWarehouseXId((int)spIdAlmacen.Value);
         txtName.Text = "" + oWarehouse.Name;
     }
 }