Example #1
0
        private void addViewMenuItem_Click(object sender, EventArgs e)
        {
            SinglesForm form = new SinglesForm(model);

            form.MdiParent = this;
            form.Show();
        }
Example #2
0
        private void MainForm_Load(object sender, EventArgs e)
        {
            SinglesForm form1 = new SinglesForm(model);

            form1.MdiParent = this;
            form1.Show();

            SinglesForm form2 = new SinglesForm(model);

            form2.MdiParent = this;
            form2.Show();

            this.LayoutMdi(MdiLayout.TileHorizontal);
        }