Beispiel #1
0
        private void OptionNew_Click(object sender, EventArgs e)
        {
            SongListForm newMdiWindow = new SongListForm(document);

            newMdiWindow.FormClosing += SongListForm_FormClosing;
            newMdiWindow.MdiParent    = this;
            newMdiWindow.Show();
            LayoutMdi(MdiLayout.TileHorizontal);
        }
Beispiel #2
0
        private void MainForm_Load(object sender, EventArgs e)
        {
            SongListForm initView = new SongListForm(document);

            initView.FormClosing += SongListForm_FormClosing;
            initView.MdiParent    = this;
            initView.Show();
            LayoutMdi(MdiLayout.TileHorizontal);
        }