Example #1
0
        private void btnLogin_Click(object sender, EventArgs e)
        {
            var user = client.Login(txtUsername.Text, txtPassword.Text);

            if (user != null)
            {
                MessageBox.Show("Giriş başarılı");
            }
            else
            {
                MessageBox.Show("Kullanıcı bulunamadı!!!!");
            }
        }