Exemplo n.º 1
0
        private void newViewToolStripMenuItem_Click(object sender, EventArgs e)
        {
            BookListForm bookListForm = new BookListForm(MainDocument);

            bookListForm.MdiParent = this;
            bookListForm.Show();
            ChangeLayout();
        }
Exemplo n.º 2
0
        public MainForm()
        {
            InitializeComponent();
            IsMdiContainer = true;
            BookListForm bookListForm = new BookListForm(MainDocument);

            bookListForm.MdiParent = this;
            bookListForm.Show();
            ChangeLayout();
        }