示例#1
0
        //form yenileme
        private void button1_Click(object sender, EventArgs e)
        {
            AdminPanel adminPanel = new AdminPanel();

            adminPanel.Show();
            this.Close();
        }
示例#2
0
 private void btnGiris_Click(object sender, EventArgs e)
 {
     if (txtGirisKullaniciAdi.Text == "Admin" && txtGirisSifre.Text == "admin")
     {
         AdminPanel admin = new AdminPanel();
         admin.Show();
         this.Hide();
     }
     else
     {
         Baglan(2);
     }
 }