Exemple #1
0
 private void BTN_Agregar_Click(object sender, EventArgs e)
 {
     try
     {
         WIN_CAT_Inventario_F window = new WIN_CAT_Inventario_F();
         window.ShowDialog();
         Refrescar();
     }
     catch (Exception ex)
     {
         Glo.Mensajes(10, ex.Message);
     }
 }
Exemple #2
0
 private void BTN_Modificar_Click(object sender, EventArgs e)
 {
     try
     {
         if (DGV_TablaProducto.RowCount == 0)
         {
             return;
         }
         else
         {
             WIN_CAT_Inventario_F window = new WIN_CAT_Inventario_F((int)DGV_TablaProducto.CurrentRow.Cells[0].Value);
             window.ShowDialog();
             Refrescar();
         }
     }
     catch (Exception ex)
     {
         Glo.Mensajes(10, ex.Message);
     }
 }