Beispiel #1
0
        private void btn_giris_Click(object sender, EventArgs e)
        {
            int sonuc = BLL.KullaniciKontrol(txt_kullaniciadi.Text, txt_sifre.Text);

            if (sonuc > 0)
            {
                AnaForm form = new AnaForm();
                form.Show();
            }
            else if (sonuc == -100)
            {
                MessageBox.Show("Form alanlarını eksiksiz doldurunuz");
            }
            else
            {
                MessageBox.Show("Hatalı kullanıcı");
            }
        }
Beispiel #2
0
        private void btnGiris_Click(object sender, EventArgs e)
        {
            int sonuc = BLL.KullaniciKontrol(txtkullaniciAdi.Text, txtSifre.Text);

            if (sonuc > 0)
            {
                AnaForm form = new AnaForm();
                form.Show();
            }
            else if (sonuc == -100)
            {
                MessageBox.Show("Form Alanlarını Eksiksiz Doldurunuz !");
            }
            else
            {
                MessageBox.Show("Hatalı Kullanıcı !");
            }
        }