Exemple #1
0
        private void FormLogin_BtOk(object sender, EventArgs e)
        {
            AHUsers usr = new AHUsers()
            {
                PhoneNum = tb_Phone.Value.ToString(),
                Password = tb_Code.Value.ToString()
            };

            string msg = string.Empty;

            if (!UserBLL.Instance.Login(usr, ref msg))
            {
                ZwMessageBox.ShowMsg(msg);
            }
            this.DialogResult = System.Windows.Forms.DialogResult.OK;
        }
Exemple #2
0
 public bool Login(AHUsers user, ref string msg)
 {
     return(true);
 }