private void oldlbl_Click(object sender, EventArgs e) { Close(); addorder add = new addorder(""); add.Show(); }
private void addtocartbtn_Click(object sender, EventArgs e) { // dialogcontainer dg = new dialogcontainer(); //dg.Size = new Size(950, 700); addorder ao = new addorder(email); // ao.TopLevel = false; // dg.dialogpnl.Controls.Add(ao); // ao.loadingdg(); // dg.Text = "Add new order"; //dg.Show(); ao.Show(); }