Пример #1
0
 public static frmRFSynthesizer GetChildInstance()
 {
     if (m_SChildform == null)
     {
         m_SChildform = new frmRFSynthesizer();
     }
     return m_SChildform;
 }
Пример #2
0
 public frmRFSynthesizer CreateSynthesizerWindow()
 {
     frmRFSynthesizer childInstance = frmRFSynthesizer.GetChildInstance();
     if (childInstance.IsDisposed)
     {
         childInstance = new frmRFSynthesizer();
     }
     childInstance.MdiParent = this;
     childInstance.Show();
     return childInstance;
 }