private void nhàCungCấpToolStripMenuItem_Click(object sender, EventArgs e) { if (ncc == null) { ncc = new NhaCungCapForm(); ncc.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.DanhMucHangForm_FormClosed); ncc.MdiParent = this; ncc.Show(); } }
private void NhaCungCapForm_FormClosed(object sender, FormClosedEventArgs e) { ncc = null; }