示例#1
0
        public PlaceOrder3(PlaceOrder2 p, MemberDashBoard m, LogIn l1, int i, string r, string rc, string pa, string pc, string n, string c)
        {
            this.id          = i;
            this.pickaddress = r;
            this.pickupcity  = rc;
            this.rcvaddress  = pa;
            this.rcvcity     = pc;
            this.rname       = n;
            this.rphone      = c;
            this.parent      = p;
            this.dash        = m;
            this.l           = l1;

            InitializeComponent();
        }
示例#2
0
 private void Order1Next_Click(object sender, EventArgs e)
 {
     if (check_OK())
     {
         this.Hide();
         string pickadd = this.Pickupaddress.Text;
         //pickadd += " City: ";
         //pickadd += this.PickUpCity.Text;
         string pickcity   = this.PickUpCity.Text;
         string rcvaddress = this.RCVAddress.Text;
         //rcvaddress += " City: ";
         //rcvaddress += this.RCVCity.Text;
         string      rcvcity = this.RCVCity.Text;
         PlaceOrder2 p       = new PlaceOrder2(this, dash, l, id, pickadd, pickcity, rcvaddress, rcvcity);
         p.Show();
     }
     else
     {
         MessageBox.Show("Fill Up the from properly", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }