Esempio n. 1
0
 private void btngiris_Click(object sender, EventArgs e)
 {
     if (txtKullanıcıAdı.Text == "beritan" && txtSifre.Text == "123")
     {
         YeniKullanici ac = new YeniKullanici();
         ac.ShowDialog();
     }
     else
     {
         MessageBox.Show("Yetki bilgileri yanlıştır!", "Bilgi", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
        private void button1_Click(object sender, EventArgs e)
        {
            YeniKullanici ac = new YeniKullanici();

            ac.ShowDialog();
        }