Example #1
0
        private void btnThem_Click(object sender, EventArgs e)
        {
            frmThemDat frm = new frmThemDat();

            frm.Show();
            this.Hide();
        }
Example #2
0
        private void tsbThemDuong_Click(object sender, EventArgs e)
        {
            foreach (System.Windows.Forms.Form frm in this.MdiChildren)
            {
                frm.Close();
            }
            frmThemDat DM = new frmThemDat();

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