예제 #1
0
        private void addNewAlbumToolStripMenuItem_Click(object sender, EventArgs e)
        {
            HelperMethods.CloseAllForms();
            frmAddAlbum frm = new frmAddAlbum();

            frm.MdiParent   = Application.OpenForms["frmIndex"];
            frm.WindowState = FormWindowState.Maximized;
            frm.Show();
        }
예제 #2
0
        private void btnAddAlbum_Click(object sender, EventArgs e)
        {
            this.Close();
            frmAddAlbum frm = new frmAddAlbum();

            frm.WindowState = FormWindowState.Maximized;
            frm.MdiParent   = Application.OpenForms["frmIndex"]; //postavi mdi na na mdi parenta ove forme
            frm.Show();
        }