private void CancelOrder_Click(object sender, RoutedEventArgs e)
        {
            BeginWindow beginWindow = new BeginWindow();

            this.Close();
            beginWindow.Show();
        }
        private void CompleteOrder_Click(object sender, RoutedEventArgs e)
        {
            string[] orderItems = orderBox.Items.OfType <string>().ToArray();
            if (orderItems.Length != 0)
            {
                Random        random     = new Random();
                double        total      = 0.0;
                List <double> itemPrices = new List <double>();
                foreach (string item in orderItems)
                {
                    double itemPrice = Double.Parse(item.Substring(item.IndexOf("$") + 1));
                    total = total + itemPrice;
                }

                int orderNumber = random.Next(100, 1001);
                MessageBox.Show("YOUR ORDER IS BEING MADE! PLEASE PAY BEFORE PICKING UP!\n\nTHANK YOU FOR CHOOSING WAWA!\n\nORDER NUMBER: " + orderNumber + "\nORDER TOTAL: $" + total);
                BeginWindow beginWindow = new BeginWindow();
                this.Close();
                beginWindow.Show();
            }
            else
            {
                MessageBox.Show("YOU HAVE NOT SELECTED ANY ITEMS.\n\nPLEASE CHOOSE YOUR DESIRED ITEMS AND THEN COMPLETE YOUR ORDER\n\n" +
                                "IF YOU YOU HAVE DECIDED TO CANCEL YOUR ORDER, SELECT 'Cancel Order'\n\nTHANK YOU!");
            }
        }