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