Пример #1
0
        internal frmCommSVTrajectory CreateSVTrajWindow()
        {
            EventHandler method = null;

            if (!base.IsDisposed)
            {
                if (method == null)
                {
                    method = delegate {
                        string str = this._nameOnly + ": SV Trajectory";
                        if ((this._SIRFSVTraj == null) || this._SIRFSVTraj.IsDisposed)
                        {
                            this._SIRFSVTraj           = new frmCommSVTrajectory(this.dataPlot.idx_P, this.dataPlot.SVTrkr.SVIDs, this.dataPlot.elevation, this.dataPlot.azimuth);
                            this._SIRFSVTraj.MdiParent = base.MdiParent;
                            this._SIRFSVTraj.Show();
                        }
                        this._SIRFSVTraj.Text = str;
                        this._SIRFSVTraj.BringToFront();
                    };
                }
                base.Invoke(method);
            }
            return(this._SIRFSVTraj);
        }
Пример #2
0
 internal frmCommSVTrajectory CreateSVTrajWindow()
 {
     EventHandler method = null;
     if (!base.IsDisposed)
     {
         if (method == null)
         {
             method = delegate {
                 string str = this._nameOnly + ": SV Trajectory";
                 if ((this._SIRFSVTraj == null) || this._SIRFSVTraj.IsDisposed)
                 {
                     this._SIRFSVTraj = new frmCommSVTrajectory(this.dataPlot.idx_P, this.dataPlot.SVTrkr.SVIDs, this.dataPlot.elevation, this.dataPlot.azimuth);
                     this._SIRFSVTraj.MdiParent = base.MdiParent;
                     this._SIRFSVTraj.Show();
                 }
                 this._SIRFSVTraj.Text = str;
                 this._SIRFSVTraj.BringToFront();
             };
         }
         base.Invoke(method);
     }
     return this._SIRFSVTraj;
 }