public CustomerShow(string sessionUser, string storedUsername)
        {
            InitializeComponent();
            passedUsername          = storedUsername;
            sessionUserCustomerShow = sessionUser;


            //set customer fields
            ComName.Content  = CustomerCollection.GetCompanyName(passedUsername);
            UserName.Content = passedUsername;
            int holderVariable = CustomerCollection.GetProfileType(passedUsername);

            if (holderVariable == 3)
            {
                ProfileType.Content = "Customer";
            }
            WorkPhone.Content = CustomerCollection.GetWorkPhone(passedUsername);
            FaxPhone.Content  = CustomerCollection.GetFaxNumber(passedUsername);
            Email.Content     = CustomerCollection.GetEmail(passedUsername);

            //set address fields
            Street1.Content  = CustomerAddressCollection.GetStreet1(passedUsername);
            City1.Content    = CustomerAddressCollection.GetCity1(passedUsername);
            State1.Content   = CustomerAddressCollection.GetState1(passedUsername);
            ZipCode1.Content = CustomerAddressCollection.GetZipCode1(passedUsername);
        }
        public CustomerModifyAddress(string sessionUser, string storedUsername)
        {
            InitializeComponent();
            passedUsername = storedUsername;
            sessionUserCustomerModifyAddress = sessionUser;

            //set address fields
            UserInputStreet1.Text = CustomerAddressCollection.GetStreet1(passedUsername);
            UserInputCity1.Text   = CustomerAddressCollection.GetCity1(passedUsername);
            UserInputState1.Text  = CustomerAddressCollection.GetState1(passedUsername);
            UserInputZip1.Text    = Convert.ToString(CustomerAddressCollection.GetZipCode1(passedUsername));
            NotesTextBox1.Text    = CustomerAddressCollection.GetNotes1(passedUsername);
        }