Ejemplo n.º 1
0
        private void buyAgainButton_Click(object sender, EventArgs e)
        {
            orderConfirmation oc = new orderConfirmation(prodId, userId);

            oc.Location = this.Location;
            oc.Show();
            this.Hide();
        }
Ejemplo n.º 2
0
        private void buyButton_Click(object sender, EventArgs e)
        {
            favorites         f = (favorites)this.ParentForm;
            orderConfirmation o = new orderConfirmation(pId, uId);

            o.Location = f.Location;
            f.Hide();
            o.Show();
        }
Ejemplo n.º 3
0
        private void buyButton_Click(object sender, EventArgs e)
        {
            accountMain       am = (accountMain)this.ParentForm;
            orderConfirmation o  = new orderConfirmation(pId, uId);

            o.Show();
            o.Location = am.Location;
            am.Hide();
        }