private void MemberView_Load(object sender, EventArgs e) { AdminPanel frm = new AdminPanel(); frm.Show(); this.Hide(); }
private void btnLogin_Click(object sender, EventArgs e) { if (member_controller.passwordControl(tbMember.Text, tbPassword.Text)) { AdminPanel frm = new AdminPanel(); frm.Show(); this.Hide(); } else { MessageBox.Show("Yanlış Kullanıcı Adı veya Şifre!", "BİLGİLENDİRME"); } }