//form yenileme private void button1_Click(object sender, EventArgs e) { AdminPanel adminPanel = new AdminPanel(); adminPanel.Show(); this.Close(); }
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); } }