private void pONikeConnectToolStripMenuItem_Click(object sender, EventArgs e) { FrmNikeConnect frm = FrmNikeConnect.GetSingleton(); frm.MdiParent = this; frm.Show(); frm.Activate(); }
public static FrmNikeConnect GetSingleton() { if (frm == null || frm.IsDisposed) { frm = new FrmNikeConnect(); } return(frm); }