コード例 #1
0
ファイル: Login.cs プロジェクト: singhbrar/Pharma
 public bool login()
 {
     user=Ada.getByUsernameAndPassword(textBox1.Text, textBox2.Text);
     if (user.AccountID == -1)
         return false;
     return true;
 }
コード例 #2
0
 public bool login()
 {
     user = Ada.getByUsernameAndPassword(textBox1.Text, textBox2.Text);
     if (user.AccountID == -1)
     {
         return(false);
     }
     return(true);
 }