Example #1
0
 private void BunifuFlatButton2_Click(object sender, EventArgs e)
 {
     try
     {
         UsuarioModel Model = new UsuarioModel();
         int          id    = Convert.ToInt32(TablaUsuarios.CurrentRow.Cells["id"].Value.ToString());
         Model.EliminarRegistro(id);
         MostrarUsuarios();
         TablaUsuarios.ClearSelection();
     }
     catch (Exception ex)
     {
         MessageBox.Show("Error " + ex.Message);
     }
 }
Example #2
0
 private void PanelBotonesUsu_MouseClick(object sender, MouseEventArgs e)
 {
     TablaUsuarios.ClearSelection();
 }
Example #3
0
 private void TablaUsuarios_Leave(object sender, EventArgs e)
 {
     TablaUsuarios.ClearSelection();
 }