Exemplo n.º 1
0
 private void btnModificarServicio_Click(object sender, EventArgs e)
 {
     if (intServicioID != 0)
     {
         frmServicios VentanaServicios = new frmServicios(this, intServicioID);
         intServicioID = 0;
         VentanaServicios.ShowDialog();
     }
     else
     {
         MessageBox.Show("Seleccione una celda");
     }
 }
Exemplo n.º 2
0
 private void metroButton1_Click(object sender, EventArgs e)
 {
     frmServicios VentanaServicios = new frmServicios(this, 0);
     VentanaServicios.ShowDialog();
 }