コード例 #1
0
ファイル: Form1.cs プロジェクト: omer-khvci/Udemy
        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");
            }
        }
コード例 #2
0
        private void btn_giriş_Click(object sender, EventArgs e)
        {
            int Returnvalue = bll.SistemKontrol(txt_kullanici_adi.Text, txt_sifre.Text);

            if (Returnvalue > 0)
            {
                AnaForm AF = new AnaForm();
                AF.Show();
            }
            else
            {
                MessageBox.Show("Hatalı kullanıcı veya şifre girişi", "Uyarı", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
        }
コード例 #3
0
        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);
            }
        }
コード例 #4
0
ファイル: Form1.cs プロジェクト: busrasagirr/kutuphane
        private void btn_giris_Click(object sender, EventArgs e)
        {
            int gelendeger = bll.SistemKontrol(txt_kullaniciadi.Text, txt_kullanicisifre.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);
            }
        }
コード例 #5
0
ファイル: Form1.cs プロジェクト: gulaynurkan/NKatmanl-Mimari
        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);
            }
        }