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