コード例 #1
0
        private void Btn_giris_Click(object sender, EventArgs e)
        {
            int ReturnValues = bll.SistemKontrolu(txt_kullanici_adi.Text, txt_sifre.Text);

            if (ReturnValues > 0)
            {
                AnaForm AF = new AnaForm();
                AF.Show();
            }
            else
            {
                MessageBox.Show("Hatalı kullanıcı adı veya şifre girişi", "Uyarı!", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
        }