コード例 #1
0
        private void toolNhapSach_Click(object sender, EventArgs e)
        {
            frmNhapSach fNhapSach = new frmNhapSach();

            foreach (Form frm in this.MdiChildren)
            {
                frm.Close();
            }
            fNhapSach.MdiParent = this;
            fNhapSach.Show();
        }
コード例 #2
0
        private void nhậpSáchToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmNhapSach frmNhapSach = new frmNhapSach();

            foreach (Form frm in this.MdiChildren)
            {
                frm.Close();
            }


            frmNhapSach.MdiParent = this;
            frmNhapSach.Show();
        }