public void btnSignUp_Click(object sender, EventArgs e) { TeamBWindowsFormSignupPage.SignupPage signup = new TeamBWindowsFormSignupPage.SignupPage(); signup.Activate(); signup.Visible = true; this.Visible = false; UIdll.RegisteredCustomer newPerson = new UIdll.RegisteredCustomer(); newPerson.MakeRegisteredCustomer(); }
private void btnGuestSignIn_Click(object sender, EventArgs e) { TeamBWindowsFormSignupPage.SignupPage guestSignup = new TeamBWindowsFormSignupPage.SignupPage(); guestSignup.Activate(); guestSignup.chkIfGuest.Checked = true; // auto sets check true when guest is clicked... guestSignup.Visible = true; this.Visible = false; //UIdll.RegisteredCustomer newPerson = new UIdll.RegisteredCustomer(); //if () // still need to find a way to put //in the list from the other form somehow without screwing up everyone. }