public static FormCategory Instance() { if (sForm == null) { sForm = new FormCategory(); } return(sForm); }
private void itemCategoryToolStripMenuItem_Click(object sender, EventArgs e) { CloseAllChild(); Form sForm = FormCategory.Instance(); sForm.MdiParent = this; sForm.Show(); sForm.Activate(); }