Пример #1
0
        //Method spawns a bid window
        private void bidToolStripMenuItem_Click(object sender, EventArgs e)
        {
            placeBidOrderForm newMDIChild = new placeBidOrderForm(data);

            //Register the observer
            // Set the parent form of the child window.
            newMDIChild.MdiParent = this;
            // Display the new form.
            newMDIChild.Show();
        }
 //Method spawns a bid window
 private void bidToolStripMenuItem_Click(object sender, EventArgs e)
 {
     placeBidOrderForm newMDIChild = new placeBidOrderForm(data);
     //Register the observer
     // Set the parent form of the child window.
     newMDIChild.MdiParent = this;
     // Display the new form.
     newMDIChild.Show();
 }