示例#1
0
 protected override bool ChampsValides()
 {
     if (RequetesSQL.SQLLireCompte(textBoxCompteId.Text) != null)
     {
         return(true);
     }
     return(false);
 }
示例#2
0
 public static bool OuvrirSession(string p_matricule)
 {
     try
     {
         compte = RequetesSQL.SQLLireCompte(p_matricule);
         return(true);
     }
     catch
     {
         return(false);
     }
 }
示例#3
0
 private void textBoxCompteId_TextChanged(object sender, EventArgs e)
 {
     BoutonOK.Enabled = IsDigitsOnly(textBoxCompteId.Text) && RequetesSQL.SQLLireCompte(textBoxCompteId.Text) != null;
 }
示例#4
0
 public Compte Extraire()
 => RequetesSQL.SQLLireCompte(textBoxCompteId.Text == "" ? listBoxTousLesComptes.SelectedItem.GetHashCode().ToString() : textBoxCompteId.Text);