private void Deseleccionar() { DgvPersonas.ClearSelection(); BtnDeseleccionar.Visible = false; Clear(); id = -1; }
private void Deselect() { DgvPersonas.ClearSelection(); _id = 0; BtnDeseleccionar.Visible = false; ClearData(); }
private void LoadPersona() { BindingSource dataSource = new BindingSource(); dataSource.DataSource = _servicio.GetList(); DgvPersonas.DataSource = dataSource; DgvPersonas.ClearSelection(); }
private void LoadPersona() { DgvPersonas.DataSource = servicio.GetAll(); DgvPersonas.ClearSelection(); }
private void Deselect() { DgvPersonas.ClearSelection(); index = -1; BtnDeseleccionar.Visible = false; }