public static frmDAnTE GetChildInstance() { if (m_frmDAnTE == null || m_frmDAnTE.IsDisposed) //if not created yet, Create an instance { m_frmDAnTE = new frmDAnTE(); } return(m_frmDAnTE); //just created or created earlier.Return it }
public static frmDAnTE GetChildInstance() { //if not created yet, Create an instance if (m_frmDAnTE == null || m_frmDAnTE.IsDisposed) { m_frmDAnTE = new frmDAnTE(); } // Return the instance return(m_frmDAnTE); }
public static frmDAnTE GetChildInstance() { if (m_frmDAnTE == null || m_frmDAnTE.IsDisposed) //if not created yet, Create an instance m_frmDAnTE = new frmDAnTE(); return m_frmDAnTE; //just created or created earlier.Return it }