コード例 #1
0
 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();
     }
 }
コード例 #2
0
 private void NhaCungCapForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     ncc = null;
 }