private void btnLoaiMP_Click(object sender, EventArgs e) { Loaihang lmp = new Loaihang(); if (KiemTraTonTai("Loaihang") == true) { lmp.Activate(); } else { lmp.MdiParent = this; lmp.Show(); } }
private void quảnLýLoạiMỹPhẩmToolStripMenuItem_Click(object sender, EventArgs e) { Loaihang lh = new Loaihang(); if (KiemTraTonTai("Loaihang") == true) { lh.Activate(); } else { lh.MdiParent = this; lh.Show(); } }
private void loạiMỹPhẩmToolStripMenuItem_Click(object sender, EventArgs e) { Loaihang nv = new Loaihang(); if (CheckExistForm("Loaihang")) { nv.MdiParent = this; nv.Show(); } else { return; } }