Beispiel #1
0
        private void OpenFile(object sender, EventArgs e)
        {
            Form childForm = new BrokerWindow();

            childForm.MdiParent = this;
            childForm.Text      = "Window " + childFormNumber++;
            childForm.Show();
        }
Beispiel #2
0
        private void BrokerToolStripMenuItem_Click(object sender, EventArgs e)
        {
            BrokerWindow childForm = new BrokerWindow();

            childForm.MdiParent = this;
            childForm.Text      = childFormNumber.ToString();
            childForm.Show();
        }