Exemplo n.º 1
0
Arquivo: Form1.cs Projeto: ColtW/UI
        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();
        }
Exemplo n.º 2
0
Arquivo: Form1.cs Projeto: ColtW/UI
        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.
        }