Пример #1
0
        private void btn_giris_Click(object sender, EventArgs e)
        {
            LoginServiceSoapClient log = new LoginServiceSoapClient();
            OturumResult           otr = new OturumResult();

            otr.KullaniciAdi = txb_kullanıcıAdi.Text;
            otr.Sifre        = txt_Sifre.Text;


            if (log.MusteriGiris(otr))
            {
                MessageBox.Show("Giriş Başarılı");
            }
            else
            {
                MessageBox.Show("Hatalı Giris..");
            }
        }
Пример #2
0
        private void btn_giris_Click(object sender, EventArgs e)
        {
            LoginServiceSoapClient log = new LoginServiceSoapClient();
            OturumResult           otr = new OturumResult();

            otr.KullaniciAdi = txb_kullanıcıAdi.Text;
            otr.Sifre        = txt_Sifre.Text;


            if (log.KurumsalGiris(otr))
            {
                K_Anasayfa frm = new K_Anasayfa();
                frm.KullaniciAdi = otr.KullaniciAdi;
                frm.ShowDialog();
            }
            else
            {
                MessageBox.Show("Hatalı Giris..");
            }
        }