private void guest_Click(object sender, EventArgs e)
        {
            //MessageBox.Show("this button should redirect the guest to the landing page, and this message box should be removed after implementation is complete");
            WelcomeForm welcome = new WelcomeForm();

            welcome.Show();
            this.Hide();
        }
Exemple #2
0
 private void Search_FormClosed(object sender, FormClosedEventArgs e)
 {
     if (ID == "Guest")
     {
         Form w = new WelcomeForm();
         this.Hide();
         w.Show();
     }
     else
     {
         System.Environment.Exit(0);
     }
 }