Exemple #1
0
 private void tblUsuarios_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.RowIndex > -1)
     {
         int id = (int)tblUsuarios.Rows[e.RowIndex].Cells["UsuarioID"].Value;
         Form form = new FormUsuario(id);
         form.Show();
         this.Close();
     }   
 }
Exemple #2
0
 private void btnCrear_Click(object sender, EventArgs e)
 {
     Form form = new FormUsuario();
     form.Show();
     this.Close();
 }