public static frmRFSynthesizer GetChildInstance() { if (m_SChildform == null) { m_SChildform = new frmRFSynthesizer(); } return m_SChildform; }
public frmRFSynthesizer CreateSynthesizerWindow() { frmRFSynthesizer childInstance = frmRFSynthesizer.GetChildInstance(); if (childInstance.IsDisposed) { childInstance = new frmRFSynthesizer(); } childInstance.MdiParent = this; childInstance.Show(); return childInstance; }