Пример #1
0
 void al_GirisParolaKontrolCompleted(object sender, GirisParolaKontrolCompletedEventArgs e)
 {
     try
     {
         if (e.Result)
         {
             client.KullaniciIdDondurAsync(txtEmail.Text);
             client.KullaniciIdDondurCompleted += new EventHandler <KullaniciIdDondurCompletedEventArgs>(al_KullaniciIdDondurCompleted);
         }
         else
         {
             MessageBox.Show("Parolayı Hatalı Girdiniz!");
             txtParola.Text = string.Empty;
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
Пример #2
0
        void al_GirisParolaKontrolCompleted(object sender, GirisParolaKontrolCompletedEventArgs e)
        {
            try
            {
                if (e.Result)
                {
                    client.KullaniciIdDondurAsync(txtEmail.Text);
                    client.KullaniciIdDondurCompleted += new EventHandler<KullaniciIdDondurCompletedEventArgs>(al_KullaniciIdDondurCompleted);
                }
                else
                {
                    MessageBox.Show("Parolayı Hatalı Girdiniz!");
                    txtParola.Text = string.Empty;
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }

        }