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); } }
private void Order2Back_Click(object sender, EventArgs e) { this.Hide(); parent.Show(); }