コード例 #1
0
ファイル: frmFileReplay.cs プロジェクト: facchinm/SiRFLive
 protected override void OnClosed(EventArgs e)
 {
     this._playState = _playStates.QUIT;
     m_SChildform = null;
     this.comm.Log.CloseFile();
     if (this._fileHdlr != null)
     {
         this._fileHdlr.Close();
     }
     if (this._parseThread != null)
     {
         this._parseThread.Abort();
         this._parseThread.Join();
     }
     if (this._signalMapPanel != null)
     {
         this._signalMapPanel.Close();
     }
     if (this._signalStrengthPanel != null)
     {
         this._signalStrengthPanel.Close();
     }
     if (this._locationViewPanel != null)
     {
         this._locationViewPanel.Close();
     }
     if (this._interferenceReport != null)
     {
         this._interferenceReport.Close();
     }
     if (this._messageFilter != null)
     {
         this._messageFilter.Close();
     }
     if (this._ttffDisplay != null)
     {
         this._ttffDisplay.Close();
     }
     base.OnClosed(e);
 }
コード例 #2
0
ファイル: frmFileReplay.cs プロジェクト: facchinm/SiRFLive
 public static frmFileReplay GetChildInstance()
 {
     if (m_SChildform == null)
     {
         m_SChildform = new frmFileReplay();
     }
     return m_SChildform;
 }