private void button1_Click(object sender, EventArgs e)
        {
            anaMenu anaMenu = new anaMenu();

            anaMenu.Show();
            this.Hide();
        }
Beispiel #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     //label2.Text = kullaniciAdi + " " + sifre;
     if (textBox1.Text == kullaniciAdi && textBox2.Text == sifre)
     {
         anaMenu anaMenu = new anaMenu();
         anaMenu.Show();
         this.Hide();
     }
     else
     {
         MessageBox.Show("Kullanıcı Adi veya Şifre Hatalı", "Giriş Başarısız");
     }
 }