コード例 #1
0
ファイル: frmFilePlots.cs プロジェクト: facchinm/SiRFLive
 internal frmFileLocationMap CreateLocationMapWindow()
 {
     EventHandler method = null;
     if (!base.IsDisposed)
     {
         if (method == null)
         {
             method = delegate {
                 string str = this._nameOnly + ": Horizontal Trajectory";
                 if ((this._SIRFFileLocMap == null) || this._SIRFFileLocMap.IsDisposed)
                 {
                     this._SIRFFileLocMap = new frmFileLocationMap(this.dataPlot.GetNumSample_nvplot(), this.dataPlot.Lat_nvplot, this.dataPlot.Lon_nvplot);
                     this._SIRFFileLocMap.MdiParent = base.MdiParent;
                     this._SIRFFileLocMap.Show();
                 }
                 this._SIRFFileLocMap.Text = str;
                 this._SIRFFileLocMap.BringToFront();
             };
         }
         base.Invoke(method);
     }
     return this._SIRFFileLocMap;
 }
コード例 #2
0
        internal frmFileLocationMap CreateLocationMapWindow()
        {
            EventHandler method = null;

            if (!base.IsDisposed)
            {
                if (method == null)
                {
                    method = delegate {
                        string str = this._nameOnly + ": Horizontal Trajectory";
                        if ((this._SIRFFileLocMap == null) || this._SIRFFileLocMap.IsDisposed)
                        {
                            this._SIRFFileLocMap           = new frmFileLocationMap(this.dataPlot.GetNumSample_nvplot(), this.dataPlot.Lat_nvplot, this.dataPlot.Lon_nvplot);
                            this._SIRFFileLocMap.MdiParent = base.MdiParent;
                            this._SIRFFileLocMap.Show();
                        }
                        this._SIRFFileLocMap.Text = str;
                        this._SIRFFileLocMap.BringToFront();
                    };
                }
                base.Invoke(method);
            }
            return(this._SIRFFileLocMap);
        }