Пример #1
0
        private void newViewToolStripMenuItem_Click(object sender, EventArgs e)
        {
            BookListForm bookListForm = new BookListForm(MainDocument);

            bookListForm.MdiParent = this;
            bookListForm.Show();
            ChangeLayout();
        }
Пример #2
0
        public MainForm()
        {
            InitializeComponent();
            IsMdiContainer = true;
            BookListForm bookListForm = new BookListForm(MainDocument);

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