Ejemplo n.º 1
0
        private void wOrderbutton_Click(object sender, EventArgs e)
        {
            MyGlobals.CustomersName = wCostumersNametextBox.Text;
            MyGlobals.CustomersPhone = wCostumersPhonetextBox.Text;
            MyGlobals.OrderConfirmation = wCalculatetextBox.Text;
            MyGlobals.OrderTax = wTaxtextBox.Text;
            MyGlobals.str_orderTotal = wTotaltextBox.Text;
            MyGlobals.CustomersAddress = wCostumersAddresstextBox.Text;

            Order_Confirmation wCostumersName = new Order_Confirmation();
            wCostumersName.Show();
        }
Ejemplo n.º 2
0
        private void Orderbutton_Click(object sender, EventArgs e)
        {
            MyGlobals.CustomersAddress = mdcCostumersAddresstextBox.Text;
            MyGlobals.CustomersName = mdcCostumersNametextBox.Text;
            MyGlobals.CustomersPhone = mdcCostumersPhonetextBox.Text;
            MyGlobals.OrderConfirmation = mdcCalculatetextBox.Text;
            MyGlobals.OrderTax = mdcTaxtextBox.Text;
            MyGlobals.str_orderTotal = mdcTotaltextBox.Text;

            //Getting customers order items.

            Order_Confirmation oCostumersName = new Order_Confirmation();
            oCostumersName.Show();
        }