private void btnConfirmarExclusao_Click(object sender, EventArgs e) { if (chkDisp.Checked) { this.disp = 1; } else { this.disp = 0; } ConManager.DeletarFilial(gridViewID, gridViewNome, disp); this.Close(); }