Exemplo n.º 1
0
 private void Deseleccionar()
 {
     DgvPersonas.ClearSelection();
     BtnDeseleccionar.Visible = false;
     Clear();
     id = -1;
 }
 private void Deselect()
 {
     DgvPersonas.ClearSelection();
     _id = 0;
     BtnDeseleccionar.Visible = false;
     ClearData();
 }
Exemplo n.º 3
0
        private void LoadPersona()
        {
            BindingSource dataSource = new BindingSource();

            dataSource.DataSource = _servicio.GetList();

            DgvPersonas.DataSource = dataSource;

            DgvPersonas.ClearSelection();
        }
Exemplo n.º 4
0
 private void LoadPersona()
 {
     DgvPersonas.DataSource = servicio.GetAll();
     DgvPersonas.ClearSelection();
 }
Exemplo n.º 5
0
 private void Deselect()
 {
     DgvPersonas.ClearSelection();
     index = -1;
     BtnDeseleccionar.Visible = false;
 }