private void btnStartApplication_Click(object sender, RoutedEventArgs e)
        {
            MembershipSignup MembershipSignupWindow = new MembershipSignup();

            //preload info - need work
            MembershipSignupWindow.MembershipType    = strMembershipType;
            MembershipSignupWindow.StartDate         = strStartDate;
            MembershipSignupWindow.AdditionalFeature = strAdditionalFeatures;
            MembershipSignupWindow.DisplayQuote();

            //If it is not displaying should i still include this part?
            MembershipSignupWindow.ExpirationDate = strEndDate;
            MembershipSignupWindow.Subtotal       = strMembershipSubtotal;
            MembershipSignupWindow.Total          = strTotalPrice;
            MembershipSignupWindow.Show();
            this.Close();
        }
Example #2
0
        //when click on "Sign up" change to screen to "MembershipSignup"
        private void btnSignUp_Click(object sender, RoutedEventArgs e)
        {
            if (lblPricingQuoteResult.Content.ToString() == "")
            {
                MessageBox.Show("Please get a quote before signing up.");
                return;
            }
            else
            {
                //create some info to send to the next window
                Member QuoteInfo = new Member(strmembershiptype, datstartdate, datenddate, decmembershipcostpermonth, decsubtotal, stradditionalfeatures, dectotal);

                //open next window and close this window
                MembershipSignup winMembershipSignup = new MembershipSignup(QuoteInfo);
                winMembershipSignup.Show();
                this.Close();
            }
        }