Ejemplo n.º 1
0
        private void btnSendOrderToAdmin_Click(object sender, EventArgs e)
        {
            if (MainColor == "No Color" || SideColor == "No Color")
            {
                MessageBox.Show("Select Both Colors");
            }
            else
            {
                localhost.Shoe sh = new localhost.Shoe();
                sh.MainColor = MainColor;
                sh.SideColor = SideColor;
                sh.Laces     = Laces;
                localhost.Service1 service1 = new localhost.Service1();
                service1.MoreDesigns(sh);

                MessageBox.Show("Design has been sent to Admin");
            }
        }