private void btn_giris_Click(object sender, EventArgs e) { int ReturnValues = bll.SistemKontrol(txtKullaniciAdi.Text, txtSifre.Text); if (ReturnValues >= 0) { AnaForm af = new AnaForm(); af.Show(); } else { MessageBox.Show("Hatalı Kullanıcı adı ve şifre"); } }
private void btn_giris_Click(object sender, EventArgs e) { int returnValues = bll.SistemKontrol(txt_kullanici_adi.Text, txt_kullanici_sifre.Text); if (returnValues > 0) { AnaForm af = new AnaForm(); af.Show(); } else { MessageBox.Show("Hatalı Kullanıcı Girişi", "Uyarı", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
private void btnGiris_Click(object sender, EventArgs e) { int ReturnValues = bll.SistemKontrol(txtKullaniciAdi.Text, txtSifre.Text); if (ReturnValues > 0) { AnaForm AF = new AnaForm(); AF.Show(); } else { MessageBox.Show("Hatalı Kullanıcı", "HATA", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
private void btn_Sistem_Giris_Click(object sender, EventArgs e) { int gelendeger = bll.SistemKontrol(txt_kullaniciad.Text, txt_KullanıcıSifre.Text); if (gelendeger > 0) { AnaForm af = new AnaForm(); af.Show(); } else { MessageBox.Show("Hatalı kullanıcı adı veya şifre girişi", "uyarı", MessageBoxButtons.OK, MessageBoxIcon.Information); } }