private void fileAnalysisClosing() { m_SChildform = null; this.saveNExit(); }
private frmFileAnalysis CreateFileAnalysisWindow(string type) { frmFileAnalysis childInstance = null; childInstance = frmFileAnalysis.GetChildInstance(type); if (childInstance.IsDisposed) { childInstance = new frmFileAnalysis(type); } childInstance.BringToFront(); childInstance.MdiParent = this; childInstance.Show(); return childInstance; }
public static frmFileAnalysis GetChildInstance(string fileType) { if (m_SChildform == null) { m_SChildform = new frmFileAnalysis(fileType); } return m_SChildform; }