public CommunicationManager(string baud, string par, string sBits, string dBits, string name, CommonClass.MyRichTextBox rtb, MyPanel pnl, MyPanel pn_SVs, MyPanel pn_Loc, ReceiverType rx) { this._ok2send = true; this.SendFlag = 1; this._baudRate = string.Empty; this._parity = string.Empty; this._stopBits = string.Empty; this._dataBits = string.Empty; this._portName = string.Empty; this._portNum = "-1"; this._TTBPortNum = "-1"; this._rxName = string.Empty; this._sourceDeviceName = string.Empty; this._readBuffer = 0x2000; this._lowPowerParams = new lowPowerParams(); this.comPort = new CommWrapper(); this.SrcDeviceName = string.Empty; this.lockread = new object(); this.lockwrite = new object(); this._protocol = "SSB"; this._rxType = ReceiverType.SLC; this.m_Protocols = new MsgFactory(ConfigurationManager.AppSettings["InstalledDirectory"] + @"\Protocols\Protocols.xml"); this.m_NavData = new NavigationAnalysisData(ConfigurationManager.AppSettings["InstalledDirectory"] + @"\Protocols\ReferenceLocation.xml"); this.m_TestSetup = new TestSetup(); this._productFamily = CommonClass.ProductType.GSD4e; this._trackerPort = string.Empty; this._resetPort = string.Empty; this._hostPair1 = string.Empty; this._requiredRunHost = true; this._hostSWFilePath = string.Empty; this._hostAppCfgFilePath = string.Empty; this._hostAppMEMSCfgPath = string.Empty; this._I2CmasterAddr = string.Empty; this._I2CslaveAddr = string.Empty; this._I2Cport = string.Empty; this.DefaultTCXOFreq = string.Empty; this.TrackerPortSelect = "uart"; this.OnOffLineUsage = "uart_cts"; this.ExtSResetNLineUsage = "uart_dtr"; this.WarmupDelay = 0x3ff; this.DebugSettings = 1; this.IsVersion4_1_A8AndAbove = true; this._requireEE = true; this._eeSelected = string.Empty; this._serverName = string.Empty; this._serverPort = string.Empty; this._authenCode = string.Empty; this._eeDayNum = string.Empty; this._bankTime = string.Empty; this.dataGui = new DataForGUI(); this.dataGui_ALL = new DataForGUI(60); this.SignalDataQ_ALL = new Queue<SignalData>(); this.TotalOfGroupMsg1 = 1; this.dataICTrack = new TrackerIC(); this.RxCtrl = new Receiver(); this.AutoReplyCtrl = new AutoReplyMgr(); this.TTBPort = new CommWrapper(); this.TrackerICCtrl = new TrackerIC(); this.SiRFNavStartStop = new SiRFNavParams(); this.NavigationParamrters = new NavigationParametersClass(); this.NavSolutionParams = new NavSolutionClass(); this.ConnectErrorString = string.Empty; this._hwCfgMsgQName = string.Empty; this._timeAidMsgQName = string.Empty; this._freqAidMsgQName = string.Empty; this._posAidMsgQName = string.Empty; this._posReqAckMsgQName = string.Empty; this._autoReplyConfigFilePath = clsGlobal.InstalledDirectory + @"\scripts\SiRFLiveAutomationSetupAutoReply.cfg"; this.ErrorLogFilePath = string.Empty; this.DisplayQueue = new Queue(MAX_MSG_BUFFER); this.ToSwitchProtocol = "OSP"; this.ToSwitchBaud = "115200"; this._messageProtocol = "OSP"; this._currentProtocol = "OSP"; this._currentBaud = "115200"; this._IMUFilePath = ""; this._aidingProtocol = "SSB"; this._myWindowTitle = string.Empty; this._CSVBuff = new byte[MAX_BYTES_BUFFER]; this._enableLocationMapView = true; this._enableSignalView = true; this._enableSVsMap = true; this._enableSatelliteStats = true; this._monitorNav = true; this._enableMEMSView = true; this._enableCompassView = true; this._locationMapRadius = 5.0; this._responseViewRTBDisplay = new CommonUtilsClass(); this._errorViewRTBDisplay = new CommonUtilsClass(); this._debugViewRTBDisplay = new CommonUtilsClass(); this.StringRxNavParams = string.Empty; this._helperFunctions = new HelperFunctions(); this._dataReadLock = new object(); this.DisplayDataLock = new object(); this._inDataBytes = new List<byte>(); this.ErrorStringList = new List<string>(); this.LockErrorLog = new object(); this.ErrorCfgFilePath = clsGlobal.InstalledDirectory + @"\Config\errorLists.cfg"; this.UserSpecifiedLogCfgFilePath = clsGlobal.InstalledDirectory + @"\Config\userMessageLists.cfg"; this.UserSpecifiedMsgList = new List<string>(); this.UserSpecifiedSubStringList = new List<string>(); this.StringDRNavStatus = string.Empty; this.StringDRNavState = string.Empty; this.StringDRNavSubsystemData = string.Empty; this.StringDRInputCarBusData = string.Empty; this.StringDRSensorData = string.Empty; this.I2CModeSwitchDone = true; this.NavTruthDataHash = new Hashtable(); this._debugViewMatchStr = string.Empty; this.ToSendMsgQueue = new Queue(); this._lockwrite = new object(); this.MAX_SIG_BUFFER = 5; this.LockSignalDataUpdate = new object(); this.LockSignalDataUpdate_ALL = new object(); this.SignalDataQ = new Queue<SignalData>(); this.NMEA_navMode = "No Fix"; this._lockCommErrorCnt = new object(); this.m_NavData = new NavigationAnalysisData(ConfigurationManager.AppSettings["InstalledDirectory"] + @"\Protocols\ReferenceLocation.xml"); this._baudRate = baud; this._parity = par; this._stopBits = sBits; this._dataBits = dBits; this._portName = name; this._displayPanelSignal = pnl; this._displayPanelSVs = pn_SVs; this._displayPanelLocation = pn_Loc; this._rxType = rx; this._rxType = ReceiverType.SLC; this.RxTransType = TransmissionType.GPS; this._idx_CSVBuff = 0; this._CSVBuff.Initialize(); this._b1 = 0; this._b2 = 0; this._nmea_Str = ""; this._lastAidingSessionReportedClockDrift = 0.0; this._lastClockDrift = 0; }
private void InitializeComponent() { ComponentResourceManager resources = new ComponentResourceManager(typeof(frmMEMSView)); this.label_MEMSView = new Label(); this.trackBarXvalue_Mag = new TrackBar(); this.trackBarYvalue_Mag = new TrackBar(); this.trackBarZvalue_Mag = new TrackBar(); this.label1 = new Label(); this.label2 = new Label(); this.label3 = new Label(); this.lblXvalue_Mag = new Label(); this.lblYvalue_Mag = new Label(); this.lblZvalue_Mag = new Label(); this.groupBox1 = new GroupBox(); this.groupBox2 = new GroupBox(); this.lblZvalue_Acc = new Label(); this.lblYvalue_Acc = new Label(); this.lblXvalue_Acc = new Label(); this.trackBarZvalue_Acc = new TrackBar(); this.trackBarYvalue_Acc = new TrackBar(); this.trackBarXvalue_Acc = new TrackBar(); this.label6 = new Label(); this.label5 = new Label(); this.label4 = new Label(); this.panel_MEMS = new MyPanel(); this.label8 = new Label(); this.label7 = new Label(); this.trackBarXvalue_Mag.BeginInit(); this.trackBarYvalue_Mag.BeginInit(); this.trackBarZvalue_Mag.BeginInit(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.trackBarZvalue_Acc.BeginInit(); this.trackBarYvalue_Acc.BeginInit(); this.trackBarXvalue_Acc.BeginInit(); this.panel_MEMS.SuspendLayout(); base.SuspendLayout(); this.label_MEMSView.AutoSize = true; this.label_MEMSView.Location = new Point(0x5d, 6); this.label_MEMSView.Name = "label_MEMSView"; this.label_MEMSView.Size = new Size(0x23, 13); this.label_MEMSView.TabIndex = 0; this.label_MEMSView.Text = "State:"; this.trackBarXvalue_Mag.Anchor = AnchorStyles.None; this.trackBarXvalue_Mag.BackColor = SystemColors.Control; this.trackBarXvalue_Mag.Enabled = false; this.trackBarXvalue_Mag.LargeChange = 0; this.trackBarXvalue_Mag.Location = new Point(0x24, 0x16); this.trackBarXvalue_Mag.Maximum = 0x7ff; this.trackBarXvalue_Mag.Minimum = -2048; this.trackBarXvalue_Mag.Name = "trackBarXvalue_Mag"; this.trackBarXvalue_Mag.Size = new Size(0xd6, 0x2a); this.trackBarXvalue_Mag.TabIndex = 2; this.trackBarXvalue_Mag.TabStop = false; this.trackBarXvalue_Mag.TickFrequency = 0x800; this.trackBarYvalue_Mag.Anchor = AnchorStyles.None; this.trackBarYvalue_Mag.BackColor = SystemColors.Control; this.trackBarYvalue_Mag.Enabled = false; this.trackBarYvalue_Mag.LargeChange = 0; this.trackBarYvalue_Mag.Location = new Point(0x24, 0x3b); this.trackBarYvalue_Mag.Maximum = 0x7ff; this.trackBarYvalue_Mag.Minimum = -2048; this.trackBarYvalue_Mag.Name = "trackBarYvalue_Mag"; this.trackBarYvalue_Mag.Size = new Size(0xd6, 0x2a); this.trackBarYvalue_Mag.TabIndex = 3; this.trackBarYvalue_Mag.TabStop = false; this.trackBarYvalue_Mag.TickFrequency = 0x800; this.trackBarZvalue_Mag.Anchor = AnchorStyles.None; this.trackBarZvalue_Mag.BackColor = SystemColors.Control; this.trackBarZvalue_Mag.Enabled = false; this.trackBarZvalue_Mag.LargeChange = 0; this.trackBarZvalue_Mag.Location = new Point(0x24, 0x63); this.trackBarZvalue_Mag.Maximum = 0x7ff; this.trackBarZvalue_Mag.Minimum = -2048; this.trackBarZvalue_Mag.Name = "trackBarZvalue_Mag"; this.trackBarZvalue_Mag.Size = new Size(0xd6, 0x2a); this.trackBarZvalue_Mag.TabIndex = 4; this.trackBarZvalue_Mag.TabStop = false; this.trackBarZvalue_Mag.TickFrequency = 0x800; this.label1.Anchor = AnchorStyles.None; this.label1.AutoSize = true; this.label1.Location = new Point(0x12, 0x1f); this.label1.Name = "label1"; this.label1.Size = new Size(14, 13); this.label1.TabIndex = 5; this.label1.Text = "X"; this.label2.Anchor = AnchorStyles.None; this.label2.AutoSize = true; this.label2.Location = new Point(0x12, 70); this.label2.Name = "label2"; this.label2.Size = new Size(14, 13); this.label2.TabIndex = 6; this.label2.Text = "Y"; this.label3.Anchor = AnchorStyles.None; this.label3.AutoSize = true; this.label3.Location = new Point(0x12, 0x6c); this.label3.Name = "label3"; this.label3.Size = new Size(14, 13); this.label3.TabIndex = 7; this.label3.Text = "Z"; this.lblXvalue_Mag.Anchor = AnchorStyles.None; this.lblXvalue_Mag.AutoSize = true; this.lblXvalue_Mag.Location = new Point(0xfe, 0x1f); this.lblXvalue_Mag.Name = "lblXvalue_Mag"; this.lblXvalue_Mag.Size = new Size(13, 13); this.lblXvalue_Mag.TabIndex = 8; this.lblXvalue_Mag.Text = "0"; this.lblYvalue_Mag.Anchor = AnchorStyles.None; this.lblYvalue_Mag.AutoSize = true; this.lblYvalue_Mag.Location = new Point(0xfe, 70); this.lblYvalue_Mag.Name = "lblYvalue_Mag"; this.lblYvalue_Mag.Size = new Size(13, 13); this.lblYvalue_Mag.TabIndex = 9; this.lblYvalue_Mag.Text = "0"; this.lblZvalue_Mag.Anchor = AnchorStyles.None; this.lblZvalue_Mag.AutoSize = true; this.lblZvalue_Mag.Location = new Point(0xfe, 0x6c); this.lblZvalue_Mag.Name = "lblZvalue_Mag"; this.lblZvalue_Mag.Size = new Size(13, 13); this.lblZvalue_Mag.TabIndex = 10; this.lblZvalue_Mag.Text = "0"; this.groupBox1.Controls.Add(this.trackBarXvalue_Mag); this.groupBox1.Controls.Add(this.lblZvalue_Mag); this.groupBox1.Controls.Add(this.trackBarYvalue_Mag); this.groupBox1.Controls.Add(this.lblYvalue_Mag); this.groupBox1.Controls.Add(this.trackBarZvalue_Mag); this.groupBox1.Controls.Add(this.lblXvalue_Mag); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.label3); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Location = new Point(10, 0x20); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new Size(0x12d, 0x93); this.groupBox1.TabIndex = 11; this.groupBox1.TabStop = false; this.groupBox1.Text = "Magnetometer*"; this.groupBox2.Controls.Add(this.lblZvalue_Acc); this.groupBox2.Controls.Add(this.lblYvalue_Acc); this.groupBox2.Controls.Add(this.lblXvalue_Acc); this.groupBox2.Controls.Add(this.trackBarZvalue_Acc); this.groupBox2.Controls.Add(this.trackBarYvalue_Acc); this.groupBox2.Controls.Add(this.trackBarXvalue_Acc); this.groupBox2.Controls.Add(this.label6); this.groupBox2.Controls.Add(this.label5); this.groupBox2.Controls.Add(this.label4); this.groupBox2.Location = new Point(0x13d, 0x20); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new Size(0x12d, 0x93); this.groupBox2.TabIndex = 12; this.groupBox2.TabStop = false; this.groupBox2.Text = "Accelerometer*"; this.lblZvalue_Acc.Anchor = AnchorStyles.None; this.lblZvalue_Acc.AutoSize = true; this.lblZvalue_Acc.Location = new Point(0xfe, 0x6c); this.lblZvalue_Acc.Name = "lblZvalue_Acc"; this.lblZvalue_Acc.Size = new Size(13, 13); this.lblZvalue_Acc.TabIndex = 0x11; this.lblZvalue_Acc.Text = "0"; this.lblYvalue_Acc.Anchor = AnchorStyles.None; this.lblYvalue_Acc.AutoSize = true; this.lblYvalue_Acc.Location = new Point(0xfe, 70); this.lblYvalue_Acc.Name = "lblYvalue_Acc"; this.lblYvalue_Acc.Size = new Size(13, 13); this.lblYvalue_Acc.TabIndex = 0x10; this.lblYvalue_Acc.Text = "0"; this.lblXvalue_Acc.Anchor = AnchorStyles.None; this.lblXvalue_Acc.AutoSize = true; this.lblXvalue_Acc.Location = new Point(0xfe, 0x1f); this.lblXvalue_Acc.Name = "lblXvalue_Acc"; this.lblXvalue_Acc.Size = new Size(13, 13); this.lblXvalue_Acc.TabIndex = 15; this.lblXvalue_Acc.Text = "0"; this.trackBarZvalue_Acc.Anchor = AnchorStyles.None; this.trackBarZvalue_Acc.BackColor = SystemColors.Control; this.trackBarZvalue_Acc.Enabled = false; this.trackBarZvalue_Acc.LargeChange = 0; this.trackBarZvalue_Acc.Location = new Point(0x24, 0x63); this.trackBarZvalue_Acc.Maximum = 0x7ff; this.trackBarZvalue_Acc.Minimum = -2048; this.trackBarZvalue_Acc.Name = "trackBarZvalue_Acc"; this.trackBarZvalue_Acc.Size = new Size(0xd6, 0x2a); this.trackBarZvalue_Acc.TabIndex = 14; this.trackBarZvalue_Acc.TabStop = false; this.trackBarZvalue_Acc.TickFrequency = 0x800; this.trackBarYvalue_Acc.Anchor = AnchorStyles.None; this.trackBarYvalue_Acc.BackColor = SystemColors.Control; this.trackBarYvalue_Acc.Enabled = false; this.trackBarYvalue_Acc.LargeChange = 0; this.trackBarYvalue_Acc.Location = new Point(0x24, 0x3b); this.trackBarYvalue_Acc.Maximum = 0x7ff; this.trackBarYvalue_Acc.Minimum = -2048; this.trackBarYvalue_Acc.Name = "trackBarYvalue_Acc"; this.trackBarYvalue_Acc.Size = new Size(0xd6, 0x2a); this.trackBarYvalue_Acc.TabIndex = 13; this.trackBarYvalue_Acc.TabStop = false; this.trackBarYvalue_Acc.TickFrequency = 0x800; this.trackBarXvalue_Acc.Anchor = AnchorStyles.None; this.trackBarXvalue_Acc.BackColor = SystemColors.Control; this.trackBarXvalue_Acc.Enabled = false; this.trackBarXvalue_Acc.LargeChange = 0; this.trackBarXvalue_Acc.Location = new Point(0x24, 0x16); this.trackBarXvalue_Acc.Maximum = 0x7ff; this.trackBarXvalue_Acc.Minimum = -2048; this.trackBarXvalue_Acc.Name = "trackBarXvalue_Acc"; this.trackBarXvalue_Acc.Size = new Size(0xd6, 0x2a); this.trackBarXvalue_Acc.TabIndex = 12; this.trackBarXvalue_Acc.TabStop = false; this.trackBarXvalue_Acc.TickFrequency = 0x800; this.label6.Anchor = AnchorStyles.None; this.label6.AutoSize = true; this.label6.Location = new Point(0x12, 0x6c); this.label6.Name = "label6"; this.label6.Size = new Size(14, 13); this.label6.TabIndex = 11; this.label6.Text = "Z"; this.label5.Anchor = AnchorStyles.None; this.label5.AutoSize = true; this.label5.Location = new Point(0x12, 70); this.label5.Name = "label5"; this.label5.Size = new Size(14, 13); this.label5.TabIndex = 11; this.label5.Text = "Y"; this.label4.Anchor = AnchorStyles.None; this.label4.AutoSize = true; this.label4.Location = new Point(0x12, 0x1f); this.label4.Name = "label4"; this.label4.Size = new Size(14, 13); this.label4.TabIndex = 11; this.label4.Text = "X"; this.panel_MEMS.Controls.Add(this.label8); this.panel_MEMS.Controls.Add(this.label7); this.panel_MEMS.Controls.Add(this.label_MEMSView); this.panel_MEMS.Controls.Add(this.groupBox2); this.panel_MEMS.Controls.Add(this.groupBox1); this.panel_MEMS.Location = new Point(3, 2); this.panel_MEMS.Name = "panel_MEMS"; this.panel_MEMS.Size = new Size(0x274, 0xe1); this.panel_MEMS.TabIndex = 13; this.panel_MEMS.Paint += new PaintEventHandler(this.panel_MEMS_Paint); this.panel_MEMS.Resize += new EventHandler(this.panel_MEMS_Resize); this.label8.AutoSize = true; this.label8.ForeColor = SystemColors.ActiveCaption; this.label8.Location = new Point(0x15, 0xca); this.label8.Name = "label8"; this.label8.Size = new Size(0xa2, 13); this.label8.TabIndex = 14; this.label8.Text = "Please see spec sheet for details"; this.label7.AutoSize = true; this.label7.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0); this.label7.ForeColor = SystemColors.ActiveCaption; this.label7.Location = new Point(13, 0xbb); this.label7.Name = "label7"; this.label7.Size = new Size(0xae, 13); this.label7.TabIndex = 13; this.label7.Text = "* Availability is hardware dependent"; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; base.ClientSize = new Size(0x277, 0xe5); base.Controls.Add(this.panel_MEMS); base.Icon = (Icon) resources.GetObject("$this.Icon"); base.MaximizeBox = false; base.MinimizeBox = false; this.MinimumSize = new Size(0x275, 0xd7); base.Name = "frmMEMSView"; base.ShowInTaskbar = false; base.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; base.StartPosition = FormStartPosition.Manual; this.Text = "MEMS Sensor Data"; base.Load += new EventHandler(this.frmMEMSView_Load); base.Paint += new PaintEventHandler(this.panel_MEMS_Paint); base.LocationChanged += new EventHandler(this.frmMEMSView_LocationChanged); base.ResizeEnd += new EventHandler(this.frmMEMSView_ResizeEnd); this.trackBarXvalue_Mag.EndInit(); this.trackBarYvalue_Mag.EndInit(); this.trackBarZvalue_Mag.EndInit(); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); this.trackBarZvalue_Acc.EndInit(); this.trackBarYvalue_Acc.EndInit(); this.trackBarXvalue_Acc.EndInit(); this.panel_MEMS.ResumeLayout(false); this.panel_MEMS.PerformLayout(); base.ResumeLayout(false); }
private void InitializeComponent() { ComponentResourceManager manager = new ComponentResourceManager(typeof(frmCommDRSensor)); this.myPanel1 = new MyPanel(); this.groupBox7 = new GroupBox(); this.textBox_DRSensorDataV2 = new TextBox(); this.groupBox1 = new GroupBox(); TextBox box = new TextBox(); this.myPanel1.SuspendLayout(); this.groupBox7.SuspendLayout(); this.groupBox1.SuspendLayout(); base.SuspendLayout(); box.BackColor = SystemColors.ControlLight; box.BorderStyle = BorderStyle.None; box.Dock = DockStyle.Fill; box.Location = new Point(3, 0x10); box.Multiline = true; box.Name = "textBox_DRSensorDataV1"; box.Size = new Size(10, 0x1f1); box.TabIndex = 11; box.Text = "sensor data v1"; this.myPanel1.Controls.Add(this.groupBox7); this.myPanel1.Controls.Add(this.groupBox1); this.myPanel1.Dock = DockStyle.Fill; this.myPanel1.Location = new Point(0, 0); this.myPanel1.Name = "myPanel1"; this.myPanel1.Size = new Size(580, 0x211); this.myPanel1.TabIndex = 5; this.myPanel1.Paint += new PaintEventHandler(this.myPanel1_Paint); this.groupBox7.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.groupBox7.BackColor = SystemColors.ControlLight; this.groupBox7.Controls.Add(this.textBox_DRSensorDataV2); this.groupBox7.Location = new Point(12, 3); this.groupBox7.Name = "groupBox7"; this.groupBox7.Size = new Size(0x223, 0x204); this.groupBox7.TabIndex = 3; this.groupBox7.TabStop = false; this.groupBox7.Text = "Car Bus Data"; this.textBox_DRSensorDataV2.BackColor = SystemColors.ControlLight; this.textBox_DRSensorDataV2.BorderStyle = BorderStyle.None; this.textBox_DRSensorDataV2.Dock = DockStyle.Fill; this.textBox_DRSensorDataV2.Location = new Point(3, 0x10); this.textBox_DRSensorDataV2.Multiline = true; this.textBox_DRSensorDataV2.Name = "textBox_DRSensorDataV2"; this.textBox_DRSensorDataV2.Size = new Size(0x21d, 0x1f1); this.textBox_DRSensorDataV2.TabIndex = 10; this.textBox_DRSensorDataV2.Text = "sensor data v2"; this.groupBox1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.groupBox1.BackColor = SystemColors.ControlLight; this.groupBox1.Controls.Add(box); this.groupBox1.Location = new Point(0x235, 3); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new Size(0x10, 0x204); this.groupBox1.TabIndex = 4; this.groupBox1.TabStop = false; this.groupBox1.Text = "SiRF DRive 1.x"; this.groupBox1.Visible = false; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; base.ClientSize = new Size(580, 0x211); base.Controls.Add(this.myPanel1); base.Icon = (Icon) manager.GetObject("$this.Icon"); base.Name = "frmCommDRSensor"; base.ShowInTaskbar = false; base.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; this.Text = "SiRFDRive Sensor View"; base.Load += new EventHandler(this.frmCommDRSensor_Load); base.Resize += new EventHandler(this.frmCommDRSensor_Resize); base.LocationChanged += new EventHandler(this.frmCommDRSensor_LocationChanged); base.ResizeEnd += new EventHandler(this.frmCommDRSensor_ResizeEnd); this.myPanel1.ResumeLayout(false); this.groupBox7.ResumeLayout(false); this.groupBox7.PerformLayout(); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); base.ResumeLayout(false); }
private void cleanupClass() { this.dataGui = null; if (this.dataPlot != null) { this.dataPlot.Dispose(); this.dataPlot = null; } if (this._debugViewRTBDisplay != null) { this._debugViewRTBDisplay = null; } if (this._displayPanelCompass != null) { this._displayPanelCompass.Dispose(); this._displayPanelCompass = null; } if (this._displayPanelDRSensors != null) { this._displayPanelDRSensors.Dispose(); this._displayPanelDRSensors = null; } if (this._displayPanelDRStatusStates != null) { this._displayPanelDRStatusStates.Dispose(); this._displayPanelDRStatusStates = null; } if (this._displayPanelLocation != null) { this._displayPanelLocation.Dispose(); this._displayPanelLocation = null; } if (this._displayPanelMEMS != null) { this._displayPanelMEMS.Dispose(); this._displayPanelMEMS = null; } if (this._displayPanelPitch != null) { this._displayPanelPitch.Dispose(); this._displayPanelPitch = null; } if (this._displayPanelRoll != null) { this._displayPanelRoll.Dispose(); this._displayPanelRoll = null; } if (this._displayPanelSatelliteStats != null) { this._displayPanelSatelliteStats.Dispose(); this._displayPanelSatelliteStats = null; } if (this._displayPanelSignal != null) { this._displayPanelSignal.Dispose(); this._displayPanelSignal = null; } if (this._displayPanelSVs != null) { this._displayPanelSVs.Dispose(); this._displayPanelSVs = null; } if (this._displayPanelSVTraj != null) { this._displayPanelSVTraj.Dispose(); this._displayPanelSVTraj = null; } if (this._errorViewRTBDisplay != null) { this._errorViewRTBDisplay = null; } if (this._responseViewRTBDisplay != null) { this._responseViewRTBDisplay = null; } if (this.RxCtrl != null) { this.RxCtrl.Dispose(); this.RxCtrl = null; } this.ListenersCtrl = null; this.AutoReplyCtrl = null; if (this.TTBPort != null) { this.TTBPort.Dispose(); this.TTBPort = null; } if (this.comPort != null) { this.comPort.Dispose(); this.comPort = null; } this.NavigationParamrters = null; this.NavTruthDataHash = null; this.NavSolutionParams = null; this.TrackerICCtrl = null; this.SiRFNavStartStop = null; this.m_NavData = null; this._CSVBuff = null; this.m_Protocols.Dispose(); this.m_Protocols = null; this.CMC = null; this.Log = null; this.ToSendMsgQueue.Clear(); this.ToSendMsgQueue = null; this.ErrorStringList.Clear(); this.ErrorStringList = null; this.UserSpecifiedMsgList.Clear(); this.UserSpecifiedMsgList = null; this.UserSpecifiedSubStringList.Clear(); this.UserSpecifiedSubStringList = null; this._inDataBytes.Clear(); this._inDataBytes = null; }
private void InitializeComponent() { this.components = new Container(); ComponentResourceManager manager = new ComponentResourceManager(typeof(frmCommLocationMap)); this.groupBox7 = new GroupBox(); this.label_heading = new Label(); this.label_gpsTime = new Label(); this.label_mode = new Label(); this.label_fix = new Label(); this.label_totalSVsUsed = new Label(); this.label_Speed = new Label(); this.label_HDOP = new Label(); this.label_Altitude = new Label(); this.label_Latitude = new Label(); this.label_Longitude = new Label(); this.label_ReceiverTime = new Label(); this.MapRightClickContextMenuStrip = new ContextMenuStrip(this.components); this.setMapCenterLocationHereToolStripMenuItem = new ToolStripMenuItem(); this.LatLongLabel = new Label(); this.locationViewToolStrip = new ToolStrip(); this.locationViewToolbarMapitBtn = new ToolStripButton(); this.locationViewToolbarSetRadiusBtn = new ToolStripButton(); this.locationViewToolbarClearBtn = new ToolStripButton(); this.toolStripButton_setRefLocation = new ToolStripButton(); this.statusStrip1 = new StatusStrip(); this.locationViewStatusLabel = new ToolStripStatusLabel(); this.panel_Location = new MyPanel(); this.groupBox7.SuspendLayout(); this.MapRightClickContextMenuStrip.SuspendLayout(); this.locationViewToolStrip.SuspendLayout(); this.statusStrip1.SuspendLayout(); base.SuspendLayout(); this.groupBox7.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this.groupBox7.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.groupBox7.BackColor = SystemColors.ControlLight; this.groupBox7.Controls.Add(this.label_heading); this.groupBox7.Controls.Add(this.label_gpsTime); this.groupBox7.Controls.Add(this.label_mode); this.groupBox7.Controls.Add(this.label_fix); this.groupBox7.Controls.Add(this.label_totalSVsUsed); this.groupBox7.Controls.Add(this.label_Speed); this.groupBox7.Controls.Add(this.label_HDOP); this.groupBox7.Controls.Add(this.label_Altitude); this.groupBox7.Controls.Add(this.label_Latitude); this.groupBox7.Controls.Add(this.label_Longitude); this.groupBox7.Controls.Add(this.label_ReceiverTime); this.groupBox7.Location = new Point(0x16, 0x22); this.groupBox7.Name = "groupBox7"; this.groupBox7.Size = new Size(0x1b9, 0x97); this.groupBox7.TabIndex = 0; this.groupBox7.TabStop = false; this.groupBox7.Text = "Position Infomation"; this.label_heading.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this.label_heading.AutoSize = true; this.label_heading.Location = new Point(0x135, 70); this.label_heading.Name = "label_heading"; this.label_heading.Size = new Size(50, 13); this.label_heading.TabIndex = 11; this.label_heading.Text = "Heading:"; this.label_gpsTime.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this.label_gpsTime.AutoSize = true; this.label_gpsTime.Location = new Point(0xb2, 0x15); this.label_gpsTime.Name = "label_gpsTime"; this.label_gpsTime.Size = new Size(0x5c, 13); this.label_gpsTime.TabIndex = 10; this.label_gpsTime.Text = "TOW: Week:"; this.label_mode.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this.label_mode.AutoSize = true; this.label_mode.Location = new Point(0xb2, 0x61); this.label_mode.Name = "label_mode"; this.label_mode.Size = new Size(0x25, 13); this.label_mode.TabIndex = 9; this.label_mode.Text = "Mode:"; this.label_fix.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this.label_fix.AutoSize = true; this.label_fix.Location = new Point(7, 0x61); this.label_fix.Name = "label_fix"; this.label_fix.Size = new Size(0x17, 13); this.label_fix.TabIndex = 8; this.label_fix.Text = "Fix:"; this.label_fix.TextAlign = ContentAlignment.MiddleRight; this.label_fix.Visible = false; this.label_totalSVsUsed.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this.label_totalSVsUsed.AutoSize = true; this.label_totalSVsUsed.Location = new Point(7, 0x7a); this.label_totalSVsUsed.Name = "label_totalSVsUsed"; this.label_totalSVsUsed.Size = new Size(0x6b, 13); this.label_totalSVsUsed.TabIndex = 7; this.label_totalSVsUsed.Text = "Number of SVs used:"; this.label_Speed.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this.label_Speed.AutoSize = true; this.label_Speed.Location = new Point(0xb2, 70); this.label_Speed.Name = "label_Speed"; this.label_Speed.Size = new Size(0x29, 13); this.label_Speed.TabIndex = 6; this.label_Speed.Text = "Speed:"; this.label_HDOP.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this.label_HDOP.AutoSize = true; this.label_HDOP.Location = new Point(7, 70); this.label_HDOP.Name = "label_HDOP"; this.label_HDOP.Size = new Size(0x29, 13); this.label_HDOP.TabIndex = 5; this.label_HDOP.Text = "HDOP:"; this.label_Altitude.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this.label_Altitude.AutoSize = true; this.label_Altitude.Location = new Point(0x135, 0x2c); this.label_Altitude.Name = "label_Altitude"; this.label_Altitude.Size = new Size(0x2d, 13); this.label_Altitude.TabIndex = 3; this.label_Altitude.Text = "Altitude:"; this.label_Latitude.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this.label_Latitude.AutoSize = true; this.label_Latitude.Location = new Point(7, 0x2c); this.label_Latitude.Name = "label_Latitude"; this.label_Latitude.Size = new Size(0x30, 13); this.label_Latitude.TabIndex = 2; this.label_Latitude.Text = "Latitude:"; this.label_Longitude.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this.label_Longitude.AutoSize = true; this.label_Longitude.Location = new Point(0xb2, 0x2c); this.label_Longitude.Name = "label_Longitude"; this.label_Longitude.Size = new Size(0x39, 13); this.label_Longitude.TabIndex = 1; this.label_Longitude.Text = "Longitude:"; this.label_ReceiverTime.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this.label_ReceiverTime.AutoSize = true; this.label_ReceiverTime.Location = new Point(7, 0x15); this.label_ReceiverTime.Name = "label_ReceiverTime"; this.label_ReceiverTime.Size = new Size(0x4f, 13); this.label_ReceiverTime.TabIndex = 0; this.label_ReceiverTime.Text = "Receiver Time:"; this.MapRightClickContextMenuStrip.Items.AddRange(new ToolStripItem[] { this.setMapCenterLocationHereToolStripMenuItem }); this.MapRightClickContextMenuStrip.Name = "MapRightClickContextMenuStrip"; this.MapRightClickContextMenuStrip.Size = new Size(0xcb, 0x1a); this.setMapCenterLocationHereToolStripMenuItem.Name = "setMapCenterLocationHereToolStripMenuItem"; this.setMapCenterLocationHereToolStripMenuItem.Size = new Size(0xca, 0x16); this.setMapCenterLocationHereToolStripMenuItem.Text = "Switch to Manual Center"; this.setMapCenterLocationHereToolStripMenuItem.Click += new EventHandler(this.setMapCenterLocationHereToolStripMenuItem_Click); this.LatLongLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this.LatLongLabel.AutoSize = true; this.LatLongLabel.Location = new Point(0x1b, 0xc3); this.LatLongLabel.Name = "LatLongLabel"; this.LatLongLabel.Size = new Size(0x3a, 13); this.LatLongLabel.TabIndex = 15; this.LatLongLabel.Text = "Lat, Long: "; this.locationViewToolStrip.Items.AddRange(new ToolStripItem[] { this.locationViewToolbarMapitBtn, this.locationViewToolbarSetRadiusBtn, this.locationViewToolbarClearBtn, this.toolStripButton_setRefLocation }); this.locationViewToolStrip.Location = new Point(0, 0); this.locationViewToolStrip.Name = "locationViewToolStrip"; this.locationViewToolStrip.Size = new Size(0x1e5, 0x19); this.locationViewToolStrip.TabIndex = 0x12; this.locationViewToolStrip.Text = "toolStrip1"; this.locationViewToolbarMapitBtn.DisplayStyle = ToolStripItemDisplayStyle.Image; this.locationViewToolbarMapitBtn.Image = Resources.mapIt; this.locationViewToolbarMapitBtn.ImageTransparentColor = Color.Magenta; this.locationViewToolbarMapitBtn.Name = "locationViewToolbarMapitBtn"; this.locationViewToolbarMapitBtn.Size = new Size(0x17, 0x16); this.locationViewToolbarMapitBtn.Text = "Map Position"; this.locationViewToolbarMapitBtn.Click += new EventHandler(this.button_MapIt_Click); this.locationViewToolbarSetRadiusBtn.DisplayStyle = ToolStripItemDisplayStyle.Image; this.locationViewToolbarSetRadiusBtn.Image = Resources.Config; this.locationViewToolbarSetRadiusBtn.ImageTransparentColor = Color.Magenta; this.locationViewToolbarSetRadiusBtn.Name = "locationViewToolbarSetRadiusBtn"; this.locationViewToolbarSetRadiusBtn.Size = new Size(0x17, 0x16); this.locationViewToolbarSetRadiusBtn.Text = "Configuration"; this.locationViewToolbarSetRadiusBtn.Click += new EventHandler(this.locationViewToolbarSetRadiusBtn_Click); this.locationViewToolbarClearBtn.DisplayStyle = ToolStripItemDisplayStyle.Image; this.locationViewToolbarClearBtn.Image = Resources.DeleteHS; this.locationViewToolbarClearBtn.ImageTransparentColor = Color.Magenta; this.locationViewToolbarClearBtn.Name = "locationViewToolbarClearBtn"; this.locationViewToolbarClearBtn.Size = new Size(0x17, 0x16); this.locationViewToolbarClearBtn.Text = "Clear Data"; this.locationViewToolbarClearBtn.Click += new EventHandler(this.frmCommLocationMapClearBtn_Click); this.toolStripButton_setRefLocation.DisplayStyle = ToolStripItemDisplayStyle.Image; this.toolStripButton_setRefLocation.Image = Resources.RefLocation; this.toolStripButton_setRefLocation.ImageTransparentColor = Color.Magenta; this.toolStripButton_setRefLocation.Name = "toolStripButton_setRefLocation"; this.toolStripButton_setRefLocation.Size = new Size(0x17, 0x16); this.toolStripButton_setRefLocation.Text = "Set Reference Location"; this.toolStripButton_setRefLocation.Click += new EventHandler(this.toolStripButton_setRefLocation_Click); this.statusStrip1.Items.AddRange(new ToolStripItem[] { this.locationViewStatusLabel }); this.statusStrip1.Location = new Point(0, 0x1b9); this.statusStrip1.Name = "statusStrip1"; this.statusStrip1.Size = new Size(0x1e5, 0x16); this.statusStrip1.TabIndex = 0x13; this.statusStrip1.Text = "Status"; this.locationViewStatusLabel.DisplayStyle = ToolStripItemDisplayStyle.Text; this.locationViewStatusLabel.Name = "locationViewStatusLabel"; this.locationViewStatusLabel.Size = new Size(0x26, 0x11); this.locationViewStatusLabel.Text = "Status"; this.panel_Location.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this.panel_Location.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.panel_Location.Location = new Point(0x16, 0xd9); this.panel_Location.Name = "panel_Location"; this.panel_Location.Size = new Size(0x1b9, 210); this.panel_Location.TabIndex = 7; this.panel_Location.Paint += new PaintEventHandler(this.panel_Location_Paint); this.panel_Location.MouseMove += new MouseEventHandler(this.panel_Location_MouseMove); this.panel_Location.MouseClick += new MouseEventHandler(this.panel_Location_MouseClick); this.panel_Location.Resize += new EventHandler(this.panel_Location_Resize); base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScroll = true; this.BackColor = SystemColors.Control; base.ClientSize = new Size(0x1e5, 0x1cf); base.Controls.Add(this.statusStrip1); base.Controls.Add(this.locationViewToolStrip); base.Controls.Add(this.groupBox7); base.Controls.Add(this.panel_Location); base.Controls.Add(this.LatLongLabel); base.Icon = (Icon) manager.GetObject("$this.Icon"); base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "frmCommLocationMap"; base.ShowInTaskbar = false; base.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; base.StartPosition = FormStartPosition.Manual; this.Text = "Location View"; base.Load += new EventHandler(this.frmCommLocationMap_Load); base.LocationChanged += new EventHandler(this.frmCommLocationMap_LocationChanged); base.ResizeEnd += new EventHandler(this.frmCommLocationMap_ResizeEnd); this.groupBox7.ResumeLayout(false); this.groupBox7.PerformLayout(); this.MapRightClickContextMenuStrip.ResumeLayout(false); this.locationViewToolStrip.ResumeLayout(false); this.locationViewToolStrip.PerformLayout(); this.statusStrip1.ResumeLayout(false); this.statusStrip1.PerformLayout(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { ComponentResourceManager manager = new ComponentResourceManager(typeof(frmFileLocationMap)); this.toolStrip1 = new ToolStrip(); this.showMapBtn = new ToolStripButton(); this.radiusLabel = new ToolStripLabel(); this.radiusTextBox = new ToolStripTextBox(); this.setRadiusBtn = new ToolStripButton(); this.panel_Location = new MyPanel(); this.toolStrip1.SuspendLayout(); base.SuspendLayout(); this.toolStrip1.Items.AddRange(new ToolStripItem[] { this.showMapBtn, this.setRadiusBtn, this.radiusTextBox, this.radiusLabel }); this.toolStrip1.Location = new Point(0, 0); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new Size(0x1cd, 0x19); this.toolStrip1.TabIndex = 13; this.toolStrip1.Text = "toolStrip1"; this.showMapBtn.DisplayStyle = ToolStripItemDisplayStyle.Image; this.showMapBtn.Image = Resources.mapIt; this.showMapBtn.ImageTransparentColor = Color.Magenta; this.showMapBtn.Name = "showMapBtn"; this.showMapBtn.Size = new Size(0x17, 0x16); this.showMapBtn.Text = "Show Map"; this.showMapBtn.Click += new EventHandler(this.showMapBtn_Click); this.radiusLabel.Name = "radiusLabel"; this.radiusLabel.Size = new Size(0x17, 0x16); this.radiusLabel.Text = "(m)"; this.radiusTextBox.Name = "radiusTextBox"; this.radiusTextBox.Size = new Size(100, 0x19); this.radiusTextBox.Text = "5.0"; this.radiusTextBox.ToolTipText = "Radius in Meter"; this.setRadiusBtn.DisplayStyle = ToolStripItemDisplayStyle.Image; this.setRadiusBtn.Image = Resources.Config; this.setRadiusBtn.ImageTransparentColor = Color.Magenta; this.setRadiusBtn.Name = "setRadiusBtn"; this.setRadiusBtn.Size = new Size(0x17, 0x16); this.setRadiusBtn.Text = "Set Radius"; this.setRadiusBtn.Click += new EventHandler(this.setRadiusBtn_Click); this.panel_Location.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this.panel_Location.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.panel_Location.Location = new Point(12, 0x29); this.panel_Location.Name = "panel_Location"; this.panel_Location.Size = new Size(0x1b5, 0x138); this.panel_Location.TabIndex = 8; this.panel_Location.Paint += new PaintEventHandler(this.panel_Location_Paint); base.ClientSize = new Size(0x1cd, 0x16d); base.Controls.Add(this.toolStrip1); base.Controls.Add(this.panel_Location); base.Icon = (Icon) manager.GetObject("$this.Icon"); base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "frmFileLocationMap"; base.ShowInTaskbar = false; base.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; this.Text = "Horizontal Trajectory"; base.Load += new EventHandler(this.frmFileLocationMap_Load); base.Resize += new EventHandler(this.frmFileLocationMap_Resize); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { this.components = new Container(); ComponentResourceManager resources = new ComponentResourceManager(typeof(frmCommSignalView)); this.toolTip1 = new ToolTip(this.components); this.toolStrip1 = new ToolStrip(); this.toolStripComboBox_Sattype = new ToolStripComboBox(); this.panel_signal = new MyPanel(); this.toolStrip1.SuspendLayout(); base.SuspendLayout(); this.toolStrip1.Items.AddRange(new ToolStripItem[] { this.toolStripComboBox_Sattype }); this.toolStrip1.Location = new Point(0, 0); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new Size(0x176, 0x19); this.toolStrip1.TabIndex = 1; this.toolStrip1.Text = "toolStrip2"; this.toolStripComboBox_Sattype.Items.AddRange(new object[] { "GPS", "GLONASS", "ALL" }); this.toolStripComboBox_Sattype.Name = "toolStripComboBox_Sattype"; this.toolStripComboBox_Sattype.Size = new Size(90, 0x19); this.toolStripComboBox_Sattype.SelectedIndexChanged += new EventHandler(this.toolStripComboBox_Sattype_SelectedIndexChanged); this.panel_signal.AutoScroll = true; this.panel_signal.AutoSize = true; this.panel_signal.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.panel_signal.Dock = DockStyle.Fill; this.panel_signal.Location = new Point(0, 0x19); this.panel_signal.Name = "panel_signal"; this.panel_signal.Size = new Size(0x176, 0xe4); this.panel_signal.TabIndex = 0; this.panel_signal.Paint += new PaintEventHandler(this.panel_Signal_Paint); this.panel_signal.Resize += new EventHandler(this.panel_signal_Resize); base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScroll = true; base.ClientSize = new Size(0x176, 0xfd); base.Controls.Add(this.panel_signal); base.Controls.Add(this.toolStrip1); base.Icon = (Icon) resources.GetObject("$this.Icon"); base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "frmCommSignalView"; base.ShowInTaskbar = false; base.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; base.StartPosition = FormStartPosition.Manual; this.Text = "Signal View"; base.Load += new EventHandler(this.frmCommSignalView_Load); base.LocationChanged += new EventHandler(this.frmCommSignalView_LocationChanged); base.ResizeEnd += new EventHandler(this.frmCommSignalView_ResizeEnd); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { ComponentResourceManager manager = new ComponentResourceManager(typeof(frmCommDRStatus)); this.fileSystemWatcher1 = new FileSystemWatcher(); this.myPanel1 = new MyPanel(); this.groupBox7 = new GroupBox(); this.textBox_DRNavStatus = new TextBox(); this.groupBox2 = new GroupBox(); this.textBox_DRNavSubSysData = new TextBox(); this.groupBox1 = new GroupBox(); this.textBox_DRNavState = new TextBox(); this.fileSystemWatcher1.BeginInit(); this.myPanel1.SuspendLayout(); this.groupBox7.SuspendLayout(); this.groupBox2.SuspendLayout(); this.groupBox1.SuspendLayout(); base.SuspendLayout(); this.fileSystemWatcher1.EnableRaisingEvents = true; this.fileSystemWatcher1.SynchronizingObject = this; this.myPanel1.Controls.Add(this.groupBox7); this.myPanel1.Controls.Add(this.groupBox2); this.myPanel1.Controls.Add(this.groupBox1); this.myPanel1.Dock = DockStyle.Fill; this.myPanel1.Location = new Point(0, 0); this.myPanel1.Name = "myPanel1"; this.myPanel1.Size = new Size(0x2ef, 0x28c); this.myPanel1.TabIndex = 3; this.myPanel1.Paint += new PaintEventHandler(this.myPanel1_Paint); this.groupBox7.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.groupBox7.BackColor = SystemColors.ControlLight; this.groupBox7.Controls.Add(this.textBox_DRNavStatus); this.groupBox7.Location = new Point(7, 9); this.groupBox7.Name = "groupBox7"; this.groupBox7.Size = new Size(0x183, 640); this.groupBox7.TabIndex = 1; this.groupBox7.TabStop = false; this.groupBox7.Text = "DR NAV Status"; this.groupBox7.Enter += new EventHandler(this.groupBox7_Enter); this.textBox_DRNavStatus.BackColor = SystemColors.ControlLight; this.textBox_DRNavStatus.BorderStyle = BorderStyle.None; this.textBox_DRNavStatus.Dock = DockStyle.Fill; this.textBox_DRNavStatus.Location = new Point(3, 0x10); this.textBox_DRNavStatus.Multiline = true; this.textBox_DRNavStatus.Name = "textBox_DRNavStatus"; this.textBox_DRNavStatus.Size = new Size(0x17d, 0x26d); this.textBox_DRNavStatus.TabIndex = 9; this.textBox_DRNavStatus.Text = "status"; this.groupBox2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.groupBox2.BackColor = SystemColors.ControlLight; this.groupBox2.Controls.Add(this.textBox_DRNavSubSysData); this.groupBox2.Location = new Point(400, 0x1cd); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new Size(0x159, 0xbd); this.groupBox2.TabIndex = 2; this.groupBox2.TabStop = false; this.groupBox2.Text = "NAV Subsystem Data"; this.groupBox2.Enter += new EventHandler(this.groupBox2_Enter); this.textBox_DRNavSubSysData.BackColor = SystemColors.ControlLight; this.textBox_DRNavSubSysData.BorderStyle = BorderStyle.None; this.textBox_DRNavSubSysData.Dock = DockStyle.Fill; this.textBox_DRNavSubSysData.Location = new Point(3, 0x10); this.textBox_DRNavSubSysData.Multiline = true; this.textBox_DRNavSubSysData.Name = "textBox_DRNavSubSysData"; this.textBox_DRNavSubSysData.Size = new Size(0x153, 170); this.textBox_DRNavSubSysData.TabIndex = 9; this.textBox_DRNavSubSysData.Text = "Subsys data"; this.groupBox1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.groupBox1.BackColor = SystemColors.ControlLight; this.groupBox1.Controls.Add(this.textBox_DRNavState); this.groupBox1.Location = new Point(400, 9); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new Size(0x159, 0x1bd); this.groupBox1.TabIndex = 2; this.groupBox1.TabStop = false; this.groupBox1.Text = "DR NAV State"; this.groupBox1.Enter += new EventHandler(this.groupBox1_Enter); this.textBox_DRNavState.BackColor = SystemColors.ControlLight; this.textBox_DRNavState.BorderStyle = BorderStyle.None; this.textBox_DRNavState.Dock = DockStyle.Fill; this.textBox_DRNavState.Location = new Point(3, 0x10); this.textBox_DRNavState.Multiline = true; this.textBox_DRNavState.Name = "textBox_DRNavState"; this.textBox_DRNavState.Size = new Size(0x153, 0x1aa); this.textBox_DRNavState.TabIndex = 8; this.textBox_DRNavState.Text = "state"; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; base.ClientSize = new Size(0x2ef, 0x28c); base.Controls.Add(this.myPanel1); base.Icon = (Icon) manager.GetObject("$this.Icon"); base.Name = "frmCommDRStatus"; base.ShowInTaskbar = false; base.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; this.Text = "SiRFDRive Status View"; base.Load += new EventHandler(this.frmCommDRStatus_Load); base.Resize += new EventHandler(this.frmCommDRStatus_Resize); base.LocationChanged += new EventHandler(this.frmCommDRStatus_LocationChanged); base.ResizeEnd += new EventHandler(this.frmCommDRStatus_ResizeEnd); this.fileSystemWatcher1.EndInit(); this.myPanel1.ResumeLayout(false); this.groupBox7.ResumeLayout(false); this.groupBox7.PerformLayout(); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); base.ResumeLayout(false); }
private void InitializeComponent() { this.components = new Container(); ComponentResourceManager resources = new ComponentResourceManager(typeof(frmCompassView)); this.toolTipCompassView = new ToolTip(this.components); this.panel_Roll = new MyPanel(); this.panel_Pitch = new MyPanel(); this.panel_Compass = new MyPanel(); base.SuspendLayout(); this.panel_Roll.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this.panel_Roll.Location = new Point(270, 0x83); this.panel_Roll.Margin = new Padding(1); this.panel_Roll.Name = "panel_Roll"; this.panel_Roll.Size = new Size(0x87, 0x87); this.panel_Roll.TabIndex = 2; this.panel_Roll.DoubleClick += new EventHandler(this.panel_Roll_DoubleClick); this.panel_Roll.Paint += new PaintEventHandler(this.panel_Roll_Paint); this.panel_Roll.Resize += new EventHandler(this.panel_Roll_Resize); this.panel_Pitch.Location = new Point(270, 1); this.panel_Pitch.Margin = new Padding(1); this.panel_Pitch.Name = "panel_Pitch"; this.panel_Pitch.Size = new Size(0x87, 0x87); this.panel_Pitch.TabIndex = 1; this.panel_Pitch.DoubleClick += new EventHandler(this.panel_Pitch_DoubleClick); this.panel_Pitch.Paint += new PaintEventHandler(this.panel_Pitch_Paint); this.panel_Pitch.Resize += new EventHandler(this.panel_Pitch_Resize); this.panel_Compass.Location = new Point(1, 1); this.panel_Compass.Margin = new Padding(1); this.panel_Compass.Name = "panel_Compass"; this.panel_Compass.Size = new Size(270, 270); this.panel_Compass.TabIndex = 0; this.panel_Compass.DoubleClick += new EventHandler(this.panel_Compass_DoubleClick); this.panel_Compass.Paint += new PaintEventHandler(this.panel_Compass_Paint); this.panel_Compass.Resize += new EventHandler(this.panel_Compass_Resize); this.panel_Compass.MouseHover += new EventHandler(this.panel_Compass_MouseHover); base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; base.ClientSize = new Size(0x189, 0x10c); base.Controls.Add(this.panel_Roll); base.Controls.Add(this.panel_Pitch); base.Controls.Add(this.panel_Compass); base.Icon = (Icon) resources.GetObject("$this.Icon"); base.Location = new Point(50, 50); base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "frmCompassView"; base.ShowInTaskbar = false; base.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; base.StartPosition = FormStartPosition.Manual; this.Text = "MEMS Compass View"; base.Load += new EventHandler(this.frmCompassView_Load); base.LocationChanged += new EventHandler(this.frmCompassView_LocationChanged); base.ResizeEnd += new EventHandler(this.frmCompassView_ResizeEnd); base.ResumeLayout(false); }
private void InitializeComponent() { ComponentResourceManager manager = new ComponentResourceManager(typeof(frmCommSVTrajectory)); this.panel_SVs = new MyPanel(); base.SuspendLayout(); this.panel_SVs.AutoSize = true; this.panel_SVs.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.panel_SVs.Dock = DockStyle.Fill; this.panel_SVs.Location = new Point(0, 0); this.panel_SVs.Name = "panel_SVs"; this.panel_SVs.Size = new Size(0x2c8, 0x2c8); this.panel_SVs.TabIndex = 1; this.panel_SVs.Paint += new PaintEventHandler(this.panel_SVs_Paint); this.panel_SVs.Resize += new EventHandler(this.panel_SVs_Resize); base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; base.ClientSize = new Size(0x2c8, 0x2c8); base.Controls.Add(this.panel_SVs); base.Icon = (Icon) manager.GetObject("$this.Icon"); base.Name = "frmCommSVTrajectory"; base.ShowInTaskbar = false; base.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; this.Text = "Satellite Trajectory"; base.Load += new EventHandler(this.frmCommSVTrajectory_Load); base.LocationChanged += new EventHandler(this.frmCommSVTrajectory_LocationChanged); base.ResizeEnd += new EventHandler(this.frmCommSVTrajectory_ResizeEnd); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { this.components = new Container(); ComponentResourceManager manager = new ComponentResourceManager(typeof(frmCommRadarMap)); this.toolTip1 = new ToolTip(this.components); this.panel_SVs = new MyPanel(); base.SuspendLayout(); this.panel_SVs.AutoSize = true; this.panel_SVs.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.panel_SVs.Dock = DockStyle.Fill; this.panel_SVs.Location = new Point(0, 0); this.panel_SVs.Name = "panel_SVs"; this.panel_SVs.Size = new Size(0x117, 0x11b); this.panel_SVs.TabIndex = 0; this.panel_SVs.Paint += new PaintEventHandler(this.panel_SVs_Paint); this.panel_SVs.Resize += new EventHandler(this.panel_SVs_Resize); this.panel_SVs.MouseEnter += new EventHandler(this.panel_SVs_MouseEnter); base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; base.ClientSize = new Size(0x117, 0x11b); base.Controls.Add(this.panel_SVs); base.Icon = (Icon) manager.GetObject("$this.Icon"); base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "frmCommRadarMap"; base.ShowInTaskbar = false; base.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; base.StartPosition = FormStartPosition.Manual; this.Text = "Radar View"; base.Load += new EventHandler(this.frmCommRadarMap_Load); base.Resize += new EventHandler(this.frmCommRadarMap_Resize); base.LocationChanged += new EventHandler(this.frmCommRadarMap_LocationChanged); base.ResumeLayout(false); base.PerformLayout(); }