Example #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            AdminManagementForm admin_form = new AdminManagementForm();

            admin_form.Show();
            Visible = false;
        }
Example #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     //checking login to enter card generate form//
     if (AdminUser.AdminEmail.ToString() == txbx_admin_email.Text && AdminUser.AdminPassword.ToString() == txbx_admin_password.Text)
     {
         AdminManagementForm admin_manage_form = new AdminManagementForm();
         MessageBox.Show("Sistemə uğurlu daxil olduz");
         admin_manage_form.Show();
         Visible = false;
     }
     else
     {
         MessageBox.Show("Email yaxud şifrə yanlışdır");
     }
 }