Exemplo n.º 1
0
        private void BooksFormToolStripMenuItem_Click(object sender, EventArgs e)
        {
            BooksForm f = new BooksForm(items, this);

            f.MdiParent    = this;
            f.FormClosing += ChildFormClosing;
            views.Add(f);
            f.Show();
            LayoutMdi(MdiLayout.TileVertical);
        }
Exemplo n.º 2
0
        private void MainForm_Load(object sender, EventArgs e)
        {
            BooksForm f = new BooksForm(items, this);

            f.MdiParent    = this;
            f.FormClosing += ChildFormClosing;
            views.Add(f);
            f.Show();
            LayoutMdi(MdiLayout.TileVertical);
        }