private void btnThem_Click(object sender, EventArgs e) { frmThemDat frm = new frmThemDat(); frm.Show(); this.Hide(); }
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(); }