Exemplo n.º 1
0
        internal frmCommNavAccVsTime CreateNavAccuracyPlotWindow()
        {
            EventHandler method = null;

            if (!base.IsDisposed)
            {
                if (method == null)
                {
                    method = delegate {
                        string str = this._nameOnly + ": Nav Accuracy vs Time";
                        if ((this._SiRFNavAccVsTime == null) || this._SiRFNavAccVsTime.IsDisposed)
                        {
                            this._SiRFNavAccVsTime           = new frmCommNavAccVsTime(this.dataPlot.GetNumSample_nvplot(), this.dataPlot.Lat_nvplot, this.dataPlot.Lon_nvplot, this.dataPlot.Alt_nvplot, this.dataPlot.tows_nvplot);
                            this._SiRFNavAccVsTime.MdiParent = base.MdiParent;
                            this._SiRFNavAccVsTime.Show();
                        }
                        this._SiRFNavAccVsTime.Text = str;
                        this._SiRFNavAccVsTime.BringToFront();
                    };
                }
                base.Invoke(method);
            }
            return(this._SiRFNavAccVsTime);
        }
Exemplo n.º 2
0
 internal frmCommNavAccVsTime CreateNavAccuracyPlotWindow()
 {
     EventHandler method = null;
     if (!base.IsDisposed)
     {
         if (method == null)
         {
             method = delegate {
                 string str = this._nameOnly + ": Nav Accuracy vs Time";
                 if ((this._SiRFNavAccVsTime == null) || this._SiRFNavAccVsTime.IsDisposed)
                 {
                     this._SiRFNavAccVsTime = new frmCommNavAccVsTime(this.dataPlot.GetNumSample_nvplot(), this.dataPlot.Lat_nvplot, this.dataPlot.Lon_nvplot, this.dataPlot.Alt_nvplot, this.dataPlot.tows_nvplot);
                     this._SiRFNavAccVsTime.MdiParent = base.MdiParent;
                     this._SiRFNavAccVsTime.Show();
                 }
                 this._SiRFNavAccVsTime.Text = str;
                 this._SiRFNavAccVsTime.BringToFront();
             };
         }
         base.Invoke(method);
     }
     return this._SiRFNavAccVsTime;
 }