Esempio n. 1
0
        private void btnMyOrders_Click(object sender, EventArgs e)
        {
            lblHomeMessage1.Visible   = false;
            lblBrakesMessage1.Visible = true;
            lblBrakesMessage2.Visible = true;

            if (panelAccount.Height == 165)
            {
                panelAccount.Height = 52;
            }
            else
            {
                panelAccount.Height = 165;
            }

            //fill out the controls
            myOrdersDS.Clear();
            OrderCTRL orderCTRL = new OrderCTRL();

            foreach (Order o in orderCTRL.getOrdersByUser((UserSingleton.GetUser()).ID))
            {
                myOrdersDS.Add(o);
            }
            this.Hide();
            ShoppingPg.getInstance();
        }
Esempio n. 2
0
        private void btnHomePage_Click_1(object sender, EventArgs e)
        {
            this.Hide();

            ShoppingPg.getInstance();
        }
Esempio n. 3
0
        private void btnParts_Click(object sender, EventArgs e)
        {
            this.Hide();

            ShoppingPg.getInstance();
        }