Ejemplo n.º 1
0
 private void NuevaOpBtn_Click(object sender, EventArgs e)
 {
     if (!string.IsNullOrEmpty(id))
     {
         CrearOperacion op = new CrearOperacion(alias, tipo, _usuario);
         op.Show();
     }
     else
     {
         MessageBox.Show("Debe seleccionar un cliente");
     }
 }
Ejemplo n.º 2
0
 private void DtClientes_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (!string.IsNullOrEmpty(id))
     {
         CrearOperacion op = new CrearOperacion(alias, tipo, _usuario);
         op.Show();
     }
     else
     {
         MessageBox.Show("Debe seleccionar un cliente");
     }
 }