private void buttonReestablecer_Click_1(object sender, EventArgs e) { for (int i = 0; i <= ChkListEspecialidades.Items.Count - 1; i++) { ChkListEspecialidades.SetItemCheckState(i, CheckState.Unchecked); } }
private void inicializar(bool esLaPrimeraVez) { dataGridView1.RowTemplate.MinimumHeight = 33; txtDescrip.Text = ""; for (int i = 0; i <= ChkListEspecialidades.Items.Count - 1; i++) { ChkListEspecialidades.SetItemCheckState(i, CheckState.Unchecked); } if (!esLaPrimeraVez) { filtrarPag(); } }