private void btnQuitter_Click(object sender, EventArgs e) { if (DbConnexion.etatConnexion() == ConnectionState.Open) { DbConnexion.SeDeconnecter(); } this.Close(); }
private void frmComptaListeFiches_FormClosed(object sender, FormClosedEventArgs e) { DbConnexion.SeDeconnecter(); }
private void btnQuitter_Click(object sender, EventArgs e) { DbConnexion.SeDeconnecter(); this.Close(); }