private void EVET_Click(object sender, EventArgs e)
        {
            HESAP_MENÜSÜ git = new HESAP_MENÜSÜ(); //hesap formuna gider

            git.Show();                            //git gösterir
            this.Hide();                           //hesap bilgisini gizler
        }
Exemplo n.º 2
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (textBox1.Text == "123" || textBox1.Text == "123456" || textBox1.Text == "123456789")
     {
         HESAP_MENÜSÜ hesap = new HESAP_MENÜSÜ(); //HESAP MENÜSÜ Formunu Çağırır.
         hesap.Show();                            // hesap gösterir.
         this.Hide();                             // GİRİŞ Formunu gizler.
     }
     else
     {
         MessageBox.Show("HATALI GİRİŞ YAPTINIZ.TEKRAR DENEYİN"); // Kullanıcıya hata mesajı verir.
         textBox1.Clear();                                        // Hesap Numarsı Kısmını Temizler.
     }
 }