private void InitializeComponent() { this.components = new Container(); this.toolStrip1 = new ToolStrip(); this.toolStripButton1 = new ToolStripButton(); this.toolStripSeparator3 = new ToolStripSeparator(); this.toolStripButton2 = new ToolStripButton(); this.toolStripSeparator1 = new ToolStripSeparator(); this.toolStripButton3 = new ToolStripButton(); this.toolStripSeparator4 = new ToolStripSeparator(); this.toolStripButton7 = new ToolStripButton(); this.toolStripButton8 = new ToolStripButton(); this.toolStripTextBox1 = new ToolStripSCTexBox(); this.toolStripButton9 = new ToolStripButton(); this.toolStripSeparator2 = new ToolStripSeparator(); this.toolStripComboBox1 = new ToolStripComboBox(); this.toolStripButton4 = new ToolStripButton(); this.toolStripButton5 = new ToolStripButton(); this.toolStripButton6 = new ToolStripButton(); this.toolStripSeparator5 = new ToolStripSeparator(); this.toolStripButton10 = new ToolStripButton(); this.toolStripSeparator6 = new ToolStripSeparator(); this.toolStripButton3DShow = new ToolStripButton(); this.toolStripButton3DCalibrate = new ToolStripButton(); this.menuStrip1 = new MenuStrip(); this.toolMenuToolStripMenuItem = new ToolStripMenuItem(); this.stackedViewToolStripMenuItem = new ToolStripMenuItem(); this.cursorsToolStripMenuItem = new ToolStripMenuItem(); this.toolStripMenuItem1 = new ToolStripSeparator(); this.enableTrackingToolStripMenuItem = new ToolStripMenuItem(); this.toolStripMenuItem2 = new ToolStripSeparator(); this.goToMinToolStripMenuItem = new ToolStripMenuItem(); this.goToMaxToolStripMenuItem = new ToolStripMenuItem(); this.toolStripMenuItem3 = new ToolStripSeparator(); this.zoomToFitToolStripMenuItem = new ToolStripMenuItem(); this.zoomInToolStripMenuItem = new ToolStripMenuItem(); this.zomOutToolStripMenuItem = new ToolStripMenuItem(); this.toolStripMenuItem4 = new ToolStripSeparator(); this.clearToolStripMenuItem = new ToolStripMenuItem(); this.menuStrip2 = new MenuStrip(); this.dataViewToolStripMenuItem = new ToolStripMenuItem(); this.accelerometerToolStripMenuItem = new ToolStripMenuItem(); this.gyroscopeToolStripMenuItem = new ToolStripMenuItem(); this.magneticToolStripMenuItem = new ToolStripMenuItem(); this.pressureToolStripMenuItem = new ToolStripMenuItem(); this.temperatureToolStripMenuItem = new ToolStripMenuItem(); this.rotationToolStripMenuItem = new ToolStripMenuItem(); this.quaternionToolStripMenuItem = new ToolStripMenuItem(); this.tableToolStripMenuItem = new ToolStripMenuItem(); this.toolStripMenuItem5 = new ToolStripSeparator(); this.settingsToolStripMenuItem = new ToolStripMenuItem(); this.toolStripMenuItem7 = new ToolStripSeparator(); this.copyPlotToolStripMenuItem = new ToolStripMenuItem(); this.contextMenuStrip1 = new ContextMenuStrip(this.components); this.dataSet1 = new DataSet(); this.dataTable1 = new DataTable(); this.bindingSource1 = new BindingSource(this.components); this.toolTip1 = new ToolTip(this.components); this.button8 = new Button(); this.button7 = new Button(); this.button2 = new Button(); this.button5 = new Button(); this.button6 = new Button(); this.button4 = new Button(); this.button3 = new Button(); this.button1 = new Button(); this.pictureBox1 = new PictureBox(); this.toolStrip1.SuspendLayout(); this.menuStrip1.SuspendLayout(); this.menuStrip2.SuspendLayout(); this.dataSet1.BeginInit(); this.dataTable1.BeginInit(); ((ISupportInitialize) this.bindingSource1).BeginInit(); ((ISupportInitialize) this.pictureBox1).BeginInit(); base.SuspendLayout(); this.toolStrip1.Dock = DockStyle.None; this.toolStrip1.Items.AddRange(new ToolStripItem[] { this.toolStripButton1, this.toolStripSeparator3, this.toolStripButton2, this.toolStripSeparator1, this.toolStripButton3, this.toolStripSeparator4, this.toolStripButton7, this.toolStripButton8, this.toolStripTextBox1, this.toolStripButton9, this.toolStripSeparator2, this.toolStripComboBox1, this.toolStripButton4, this.toolStripButton5, this.toolStripButton6, this.toolStripSeparator5, this.toolStripButton10, this.toolStripSeparator6, this.toolStripButton3DShow, this.toolStripButton3DCalibrate }); this.toolStrip1.LayoutStyle = ToolStripLayoutStyle.HorizontalStackWithOverflow; this.toolStrip1.Location = new Point(0, 0x30); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new Size(0x1ca, 0x19); this.toolStrip1.TabIndex = 6; this.toolStrip1.Text = "toolStrip1"; this.toolStripButton1.DisplayStyle = ToolStripItemDisplayStyle.Image; this.toolStripButton1.Image = Resources.CascadeWindowsHS; this.toolStripButton1.ImageTransparentColor = Color.Magenta; this.toolStripButton1.MergeIndex = 1; this.toolStripButton1.Name = "toolStripButton1"; this.toolStripButton1.Size = new Size(0x17, 0x16); this.toolStripButton1.Text = "Stacking view"; this.toolStripButton1.Click += new EventHandler(this.stackedViewToolStripMenuItem_Click); this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new Size(6, 0x19); this.toolStripButton2.DisplayStyle = ToolStripItemDisplayStyle.Image; this.toolStripButton2.Image = Resources.ShowRulelinesHS; this.toolStripButton2.ImageTransparentColor = Color.Magenta; this.toolStripButton2.Name = "toolStripButton2"; this.toolStripButton2.Size = new Size(0x17, 0x16); this.toolStripButton2.Text = "Show/Hide cursor"; this.toolStripButton2.Click += new EventHandler(this.cursorsToolStripMenuItem_Click); this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new Size(6, 0x19); this.toolStripButton3.DisplayStyle = ToolStripItemDisplayStyle.Image; this.toolStripButton3.Image = Resources.Tracking; this.toolStripButton3.ImageTransparentColor = Color.Magenta; this.toolStripButton3.Name = "toolStripButton3"; this.toolStripButton3.Size = new Size(0x17, 0x16); this.toolStripButton3.Text = "Enable Tracking"; this.toolStripButton3.ToolTipText = "Enable Tracking"; this.toolStripButton3.Click += new EventHandler(this.enableTrackingToolStripMenuItem_Click); this.toolStripSeparator4.Name = "toolStripSeparator4"; this.toolStripSeparator4.Size = new Size(6, 0x19); this.toolStripButton7.DisplayStyle = ToolStripItemDisplayStyle.Image; this.toolStripButton7.Image = Resources.GotoMin; this.toolStripButton7.ImageTransparentColor = Color.Magenta; this.toolStripButton7.Name = "toolStripButton7"; this.toolStripButton7.Size = new Size(0x17, 0x16); this.toolStripButton7.Text = "Go to begin"; this.toolStripButton7.Click += new EventHandler(this.goToMinToolStripMenuItem_Click); this.toolStripButton8.DisplayStyle = ToolStripItemDisplayStyle.Image; this.toolStripButton8.Image = Resources.GotoMax; this.toolStripButton8.ImageTransparentColor = Color.Magenta; this.toolStripButton8.Name = "toolStripButton8"; this.toolStripButton8.Size = new Size(0x17, 0x16); this.toolStripButton8.Text = "Go to end"; this.toolStripButton8.Click += new EventHandler(this.goToMaxToolStripMenuItem_Click); this.toolStripTextBox1.AcceptOnlyNumber = true; this.toolStripTextBox1.MaxLength = 10; this.toolStripTextBox1.MaxValue = 0x100000000L; this.toolStripTextBox1.MinValue = 0L; this.toolStripTextBox1.Name = "toolStripTextBox1"; this.toolStripTextBox1.Size = new Size(80, 0x15); this.toolStripTextBox1.TextBoxAlign = HorizontalAlignment.Right; this.toolStripTextBox1.ToolTipText = "Go to"; this.toolStripTextBox1.KeyPress += new KeyPressEventHandler(this.toolStripTextBox1_KeyPress); this.toolStripButton9.DisplayStyle = ToolStripItemDisplayStyle.Image; this.toolStripButton9.Image = Resources.GoTo; this.toolStripButton9.ImageTransparentColor = Color.Magenta; this.toolStripButton9.Name = "toolStripButton9"; this.toolStripButton9.Size = new Size(0x17, 0x16); this.toolStripButton9.Text = "Go to"; this.toolStripButton9.Click += new EventHandler(this.toolStripButton9_Click); this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new Size(6, 0x19); this.toolStripComboBox1.DropDownStyle = ComboBoxStyle.DropDownList; this.toolStripComboBox1.Items.AddRange(new object[] { "Horizontal Zoom ", "Vertical Zoom", "All" }); this.toolStripComboBox1.MaxDropDownItems = 3; this.toolStripComboBox1.MaxLength = 0x10; this.toolStripComboBox1.Name = "toolStripComboBox1"; this.toolStripComboBox1.Size = new Size(100, 0x19); this.toolStripComboBox1.ToolTipText = "Zoom mode selection"; this.toolStripButton4.DisplayStyle = ToolStripItemDisplayStyle.Image; this.toolStripButton4.Image = Resources.ZoomToFit; this.toolStripButton4.ImageTransparentColor = Color.Magenta; this.toolStripButton4.Name = "toolStripButton4"; this.toolStripButton4.Size = new Size(0x17, 0x16); this.toolStripButton4.Text = "Zoom to Fit"; this.toolStripButton4.Click += new EventHandler(this.zoomToFitToolStripMenuItem_Click); this.toolStripButton5.DisplayStyle = ToolStripItemDisplayStyle.Image; this.toolStripButton5.Image = Resources.ZoomIn; this.toolStripButton5.ImageTransparentColor = Color.Magenta; this.toolStripButton5.Name = "toolStripButton5"; this.toolStripButton5.Size = new Size(0x17, 0x16); this.toolStripButton5.Text = "ZoomIn"; this.toolStripButton5.Click += new EventHandler(this.zoomInToolStripMenuItem_Click); this.toolStripButton6.DisplayStyle = ToolStripItemDisplayStyle.Image; this.toolStripButton6.Image = Resources.ZoomOut; this.toolStripButton6.ImageTransparentColor = Color.Magenta; this.toolStripButton6.Name = "toolStripButton6"; this.toolStripButton6.Size = new Size(0x17, 0x16); this.toolStripButton6.Text = "ZoomOut"; this.toolStripButton6.Click += new EventHandler(this.zomOutToolStripMenuItem_Click); this.toolStripSeparator5.Name = "toolStripSeparator5"; this.toolStripSeparator5.Size = new Size(6, 0x19); this.toolStripButton10.DisplayStyle = ToolStripItemDisplayStyle.Image; this.toolStripButton10.Image = Resources.Clear; this.toolStripButton10.ImageTransparentColor = Color.Magenta; this.toolStripButton10.Name = "toolStripButton10"; this.toolStripButton10.Size = new Size(0x17, 0x16); this.toolStripButton10.Text = "Clear"; this.toolStripButton10.Click += new EventHandler(this.clearToolStripMenuItem_Click); this.toolStripSeparator6.Name = "toolStripSeparator6"; this.toolStripSeparator6.Size = new Size(6, 0x19); this.toolStripButton3DShow.DisplayStyle = ToolStripItemDisplayStyle.Image; this.toolStripButton3DShow.Image = Resources._3DCubeIco; this.toolStripButton3DShow.ImageTransparentColor = Color.Magenta; this.toolStripButton3DShow.Name = "toolStripButton3DShow"; this.toolStripButton3DShow.Size = new Size(0x17, 0x16); this.toolStripButton3DShow.Text = "Run/Stop 3D Demo"; this.toolStripButton3DShow.Visible = true; this.toolStripButton3DShow.Click += new EventHandler(this.toolStripButton3DShow_Click); this.toolStripButton3DCalibrate.DisplayStyle = ToolStripItemDisplayStyle.Image; this.toolStripButton3DCalibrate.Image = Resources.Image3DCalibrate; this.toolStripButton3DCalibrate.ImageTransparentColor = Color.Magenta; this.toolStripButton3DCalibrate.Name = "toolStripButton3DCalibrate"; this.toolStripButton3DCalibrate.Size = new Size(0x17, 0x16); this.toolStripButton3DCalibrate.Text = "Calibrate"; this.toolStripButton3DCalibrate.Visible = false; this.menuStrip1.Items.AddRange(new ToolStripItem[] { this.toolMenuToolStripMenuItem }); this.menuStrip1.Location = new Point(0, 0x18); this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Size = new Size(0x29f, 0x18); this.menuStrip1.TabIndex = 7; this.menuStrip1.Text = "menuStrip1"; this.toolMenuToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { this.stackedViewToolStripMenuItem, this.cursorsToolStripMenuItem, this.toolStripMenuItem1, this.enableTrackingToolStripMenuItem, this.toolStripMenuItem2, this.goToMinToolStripMenuItem, this.goToMaxToolStripMenuItem, this.toolStripMenuItem3, this.zoomToFitToolStripMenuItem, this.zoomInToolStripMenuItem, this.zomOutToolStripMenuItem, this.toolStripMenuItem4, this.clearToolStripMenuItem }); this.toolMenuToolStripMenuItem.Name = "toolMenuToolStripMenuItem"; this.toolMenuToolStripMenuItem.Size = new Size(0x3b, 20); this.toolMenuToolStripMenuItem.Text = "Controls"; this.stackedViewToolStripMenuItem.Name = "stackedViewToolStripMenuItem"; this.stackedViewToolStripMenuItem.Size = new Size(160, 0x16); this.stackedViewToolStripMenuItem.Text = "Stacked View"; this.stackedViewToolStripMenuItem.Click += new EventHandler(this.stackedViewToolStripMenuItem_Click); this.cursorsToolStripMenuItem.Name = "cursorsToolStripMenuItem"; this.cursorsToolStripMenuItem.Size = new Size(160, 0x16); this.cursorsToolStripMenuItem.Text = "Cursors"; this.cursorsToolStripMenuItem.Click += new EventHandler(this.cursorsToolStripMenuItem_Click); this.toolStripMenuItem1.Name = "toolStripMenuItem1"; this.toolStripMenuItem1.Size = new Size(0x9d, 6); this.enableTrackingToolStripMenuItem.Name = "enableTrackingToolStripMenuItem"; this.enableTrackingToolStripMenuItem.Size = new Size(160, 0x16); this.enableTrackingToolStripMenuItem.Text = "Enable Tracking"; this.enableTrackingToolStripMenuItem.Click += new EventHandler(this.enableTrackingToolStripMenuItem_Click); this.toolStripMenuItem2.Name = "toolStripMenuItem2"; this.toolStripMenuItem2.Size = new Size(0x9d, 6); this.goToMinToolStripMenuItem.Name = "goToMinToolStripMenuItem"; this.goToMinToolStripMenuItem.Size = new Size(160, 0x16); this.goToMinToolStripMenuItem.Text = "Go to Begin"; this.goToMinToolStripMenuItem.ToolTipText = "Go to begin"; this.goToMinToolStripMenuItem.Click += new EventHandler(this.goToMinToolStripMenuItem_Click); this.goToMaxToolStripMenuItem.Name = "goToMaxToolStripMenuItem"; this.goToMaxToolStripMenuItem.Size = new Size(160, 0x16); this.goToMaxToolStripMenuItem.Text = "Go to End"; this.goToMaxToolStripMenuItem.ToolTipText = "Go to End"; this.goToMaxToolStripMenuItem.Click += new EventHandler(this.goToMaxToolStripMenuItem_Click); this.toolStripMenuItem3.Name = "toolStripMenuItem3"; this.toolStripMenuItem3.Size = new Size(0x9d, 6); this.zoomToFitToolStripMenuItem.Name = "zoomToFitToolStripMenuItem"; this.zoomToFitToolStripMenuItem.Size = new Size(160, 0x16); this.zoomToFitToolStripMenuItem.Text = "Zoom to Fit"; this.zoomToFitToolStripMenuItem.Click += new EventHandler(this.zoomToFitToolStripMenuItem_Click); this.zoomInToolStripMenuItem.Name = "zoomInToolStripMenuItem"; this.zoomInToolStripMenuItem.Size = new Size(160, 0x16); this.zoomInToolStripMenuItem.Text = "Zoom In"; this.zoomInToolStripMenuItem.Click += new EventHandler(this.zoomInToolStripMenuItem_Click); this.zomOutToolStripMenuItem.Name = "zomOutToolStripMenuItem"; this.zomOutToolStripMenuItem.Size = new Size(160, 0x16); this.zomOutToolStripMenuItem.Text = "Zoom Out"; this.zomOutToolStripMenuItem.Click += new EventHandler(this.zomOutToolStripMenuItem_Click); this.toolStripMenuItem4.Name = "toolStripMenuItem4"; this.toolStripMenuItem4.Size = new Size(0x9d, 6); this.clearToolStripMenuItem.Name = "clearToolStripMenuItem"; this.clearToolStripMenuItem.Size = new Size(160, 0x16); this.clearToolStripMenuItem.Text = "Clear "; this.clearToolStripMenuItem.Click += new EventHandler(this.clearToolStripMenuItem_Click); this.menuStrip2.Items.AddRange(new ToolStripItem[] { this.dataViewToolStripMenuItem }); this.menuStrip2.Location = new Point(0, 0); this.menuStrip2.Name = "menuStrip2"; this.menuStrip2.Size = new Size(0x29f, 0x18); this.menuStrip2.TabIndex = 8; this.menuStrip2.Text = "menuStrip2"; this.dataViewToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { this.accelerometerToolStripMenuItem, this.gyroscopeToolStripMenuItem, this.magneticToolStripMenuItem, this.pressureToolStripMenuItem, this.temperatureToolStripMenuItem, this.rotationToolStripMenuItem, this.quaternionToolStripMenuItem, this.tableToolStripMenuItem, this.toolStripMenuItem5, this.settingsToolStripMenuItem, this.toolStripMenuItem7, this.copyPlotToolStripMenuItem }); this.dataViewToolStripMenuItem.Name = "dataViewToolStripMenuItem"; this.dataViewToolStripMenuItem.Size = new Size(0x43, 20); this.dataViewToolStripMenuItem.Text = "Data View"; this.accelerometerToolStripMenuItem.Name = "accelerometerToolStripMenuItem"; this.accelerometerToolStripMenuItem.Size = new Size(0x9b, 0x16); this.accelerometerToolStripMenuItem.Text = "Accelerometer"; this.gyroscopeToolStripMenuItem.Name = "gyroscopeToolStripMenuItem"; this.gyroscopeToolStripMenuItem.Size = new Size(0x9b, 0x16); this.gyroscopeToolStripMenuItem.Text = "Gyroscope"; this.magneticToolStripMenuItem.Name = "magneticToolStripMenuItem"; this.magneticToolStripMenuItem.Size = new Size(0x9b, 0x16); this.magneticToolStripMenuItem.Text = "Magnetometer"; this.pressureToolStripMenuItem.Name = "pressureToolStripMenuItem"; this.pressureToolStripMenuItem.Size = new Size(0x9b, 0x16); this.pressureToolStripMenuItem.Text = "Pressure"; this.temperatureToolStripMenuItem.Name = "temperatureToolStripMenuItem"; this.temperatureToolStripMenuItem.Size = new Size(0x9b, 0x16); this.temperatureToolStripMenuItem.Text = "Temperature"; this.rotationToolStripMenuItem.Name = "rotationToolStripMenuItem"; this.rotationToolStripMenuItem.Size = new Size(0x9b, 0x16); this.rotationToolStripMenuItem.Text = "Rotation"; this.quaternionToolStripMenuItem.Name = "quaternionToolStripMenuItem"; this.quaternionToolStripMenuItem.Size = new Size(0x9b, 0x16); this.quaternionToolStripMenuItem.Text = "Quaternion"; this.tableToolStripMenuItem.Name = "tableToolStripMenuItem"; this.tableToolStripMenuItem.Size = new Size(0x9b, 0x16); this.tableToolStripMenuItem.Text = "Report"; this.toolStripMenuItem5.Name = "toolStripMenuItem5"; this.toolStripMenuItem5.Size = new Size(0x98, 6); this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem"; this.settingsToolStripMenuItem.Size = new Size(0x9b, 0x16); this.settingsToolStripMenuItem.Text = "Settings..."; this.settingsToolStripMenuItem.Click += new EventHandler(this.settingsToolStripMenuItem_Click); this.toolStripMenuItem7.Name = "toolStripMenuItem7"; this.toolStripMenuItem7.Size = new Size(0x98, 6); this.copyPlotToolStripMenuItem.Name = "copyPlotToolStripMenuItem"; this.copyPlotToolStripMenuItem.Size = new Size(0x9b, 0x16); this.copyPlotToolStripMenuItem.Text = "Copy"; this.copyPlotToolStripMenuItem.ToolTipText = "Copy plot image to clipboard"; this.copyPlotToolStripMenuItem.Click += new EventHandler(this.copyPlotToolStripMenuItem_Click); this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Size = new Size(0x3d, 4); this.dataSet1.DataSetName = "NewDataSet"; this.dataSet1.Tables.AddRange(new DataTable[] { this.dataTable1 }); this.dataTable1.TableName = "Table1"; this.bindingSource1.AllowNew = false; this.bindingSource1.DataMember = "Table1"; this.bindingSource1.DataSource = this.dataSet1; this.button8.BackgroundImage = Resources.Quaternion; this.button8.BackgroundImageLayout = ImageLayout.Stretch; this.button8.FlatAppearance.BorderSize = 0; this.button8.FlatStyle = FlatStyle.Flat; this.button8.Location = new Point(0x125, 0x7b); this.button8.Margin = new Padding(0); this.button8.Name = "button8"; this.button8.Size = new Size(0x54, 0x54); this.button8.TabIndex = 13; this.button8.TextAlign = ContentAlignment.BottomCenter; this.button8.TextImageRelation = TextImageRelation.ImageAboveText; this.toolTip1.SetToolTip(this.button8, "Quaternion"); this.button8.UseVisualStyleBackColor = true; this.button7.BackgroundImage = Resources.Rotation; this.button7.BackgroundImageLayout = ImageLayout.Stretch; this.button7.FlatAppearance.BorderSize = 0; this.button7.FlatStyle = FlatStyle.Flat; this.button7.Location = new Point(0x2f, 0xaf); this.button7.Margin = new Padding(0); this.button7.Name = "button7"; this.button7.Size = new Size(0x54, 0x54); this.button7.TabIndex = 12; this.button7.TextAlign = ContentAlignment.BottomCenter; this.button7.TextImageRelation = TextImageRelation.ImageAboveText; this.toolTip1.SetToolTip(this.button7, "Rotation"); this.button7.UseVisualStyleBackColor = true; this.button2.BackgroundImage = Resources.Gyroscopeb; this.button2.BackgroundImageLayout = ImageLayout.Stretch; this.button2.FlatAppearance.BorderSize = 0; this.button2.FlatStyle = FlatStyle.Flat; this.button2.Location = new Point(0xce, 0x76); this.button2.Margin = new Padding(0); this.button2.Name = "button2"; this.button2.Size = new Size(0x56, 0x54); this.button2.TabIndex = 1; this.button2.TextAlign = ContentAlignment.BottomCenter; this.button2.TextImageRelation = TextImageRelation.ImageAboveText; this.toolTip1.SetToolTip(this.button2, "Gyroscope"); this.button2.UseVisualStyleBackColor = true; this.button5.BackgroundImage = Resources.Pressure1; this.button5.BackgroundImageLayout = ImageLayout.Stretch; this.button5.FlatAppearance.BorderSize = 0; this.button5.FlatStyle = FlatStyle.Flat; this.button5.Location = new Point(0x13a, 0xca); this.button5.Margin = new Padding(0); this.button5.Name = "button5"; this.button5.Size = new Size(0x54, 0x54); this.button5.TabIndex = 9; this.button5.TextAlign = ContentAlignment.BottomCenter; this.button5.TextImageRelation = TextImageRelation.ImageAboveText; this.toolTip1.SetToolTip(this.button5, "Pressure"); this.button5.UseVisualStyleBackColor = true; this.button6.BackgroundImage = Resources.Dataview; this.button6.BackgroundImageLayout = ImageLayout.Stretch; this.button6.FlatAppearance.BorderSize = 0; this.button6.FlatStyle = FlatStyle.Flat; this.button6.Location = new Point(0x7a, 0x7f); this.button6.Margin = new Padding(0); this.button6.Name = "button6"; this.button6.Size = new Size(0x54, 0x54); this.button6.TabIndex = 10; this.button6.TextAlign = ContentAlignment.BottomCenter; this.button6.TextImageRelation = TextImageRelation.ImageAboveText; this.toolTip1.SetToolTip(this.button6, "Report"); this.button6.UseVisualStyleBackColor = true; this.button4.BackgroundImage = Resources.thermometer; this.button4.BackgroundImageLayout = ImageLayout.Stretch; this.button4.FlatAppearance.BorderSize = 0; this.button4.FlatStyle = FlatStyle.Flat; this.button4.Location = new Point(0xc5, 0xd3); this.button4.Margin = new Padding(0); this.button4.Name = "button4"; this.button4.Size = new Size(0x54, 0x54); this.button4.TabIndex = 3; this.button4.TextAlign = ContentAlignment.BottomCenter; this.button4.TextImageRelation = TextImageRelation.ImageAboveText; this.toolTip1.SetToolTip(this.button4, "Temperature"); this.button4.UseVisualStyleBackColor = true; this.button3.BackgroundImage = Resources.Compassb; this.button3.BackgroundImageLayout = ImageLayout.Stretch; this.button3.FlatAppearance.BorderSize = 0; this.button3.FlatStyle = FlatStyle.Flat; this.button3.Location = new Point(510, 0x76); this.button3.Margin = new Padding(0); this.button3.Name = "button3"; this.button3.Size = new Size(0x54, 0x54); this.button3.TabIndex = 2; this.button3.TextAlign = ContentAlignment.BottomCenter; this.button3.TextImageRelation = TextImageRelation.ImageAboveText; this.toolTip1.SetToolTip(this.button3, "Magnetometer"); this.button3.UseVisualStyleBackColor = true; this.button1.BackgroundImage = Resources.accelerometer; this.button1.BackgroundImageLayout = ImageLayout.Stretch; this.button1.FlatAppearance.BorderSize = 0; this.button1.FlatStyle = FlatStyle.Flat; this.button1.Location = new Point(0x189, 0x76); this.button1.Margin = new Padding(0); this.button1.Name = "button1"; this.button1.Size = new Size(0x54, 0x54); this.button1.TabIndex = 0; this.button1.TextAlign = ContentAlignment.BottomCenter; this.button1.TextImageRelation = TextImageRelation.ImageAboveText; this.toolTip1.SetToolTip(this.button1, "Accelerometer"); this.button1.UseVisualStyleBackColor = true; this.pictureBox1.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this.pictureBox1.Image = Resources._64x64_32bit; this.pictureBox1.Location = new Point(0x254, 260); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new Size(0x40, 0x40); this.pictureBox1.SizeMode = PictureBoxSizeMode.AutoSize; this.pictureBox1.TabIndex = 11; this.pictureBox1.TabStop = false; this.BackColor = SystemColors.Control; base.Controls.Add(this.button8); base.Controls.Add(this.button7); base.Controls.Add(this.button2); base.Controls.Add(this.button5); base.Controls.Add(this.button6); base.Controls.Add(this.button4); base.Controls.Add(this.button3); base.Controls.Add(this.menuStrip1); base.Controls.Add(this.button1); base.Controls.Add(this.menuStrip2); base.Controls.Add(this.toolStrip1); base.Controls.Add(this.pictureBox1); base.Name = "MainUserControl"; base.Size = new Size(0x29f, 0x14b); base.Resize += new EventHandler(this.MainUserControl_Resize); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.menuStrip1.ResumeLayout(false); this.menuStrip1.PerformLayout(); this.menuStrip2.ResumeLayout(false); this.menuStrip2.PerformLayout(); this.dataSet1.EndInit(); this.dataTable1.EndInit(); ((ISupportInitialize) this.bindingSource1).EndInit(); ((ISupportInitialize) this.pictureBox1).EndInit(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { this.components = new Container(); ComponentResourceManager resources = new ComponentResourceManager(typeof(CommunicationControl)); this.toolStripCommBar = new ToolStrip(); this.toolStripBtnConnect = new ToolStripButton(); this.toolStripBtnSensorSetting = new ToolStripButton(); this.toolStripSeparator5 = new ToolStripSeparator(); this.toolStripCmbMode = new ToolStripComboBox(); this.toolStripTxtSamples = new ToolStripSCTexBox(); this.toolStripBtnStart = new ToolStripButton(); this.toolStripBtnStop = new ToolStripButton(); this.toolStripSeparator2 = new ToolStripSeparator(); this.toolStripProgressBarAcqSample = new ToolStripProgressBar(); this.toolStripLblNumSamples = new ToolStripLabel(); this.menuStripCommMenu = new MenuStrip(); this.Communication = new ToolStripMenuItem(); this.Connect = new ToolStripMenuItem(); this.SensorSetting = new ToolStripMenuItem(); this.Acquisition = new ToolStripMenuItem(); this.Samples = new ToolStripMenuItem(); this.Continous = new ToolStripMenuItem(); this.toolStripSeparator1 = new ToolStripSeparator(); this.Start = new ToolStripMenuItem(); this.Stop = new ToolStripMenuItem(); this.Settings = new ToolStripMenuItem(); this.toolStripSeparator3 = new ToolStripSeparator(); this.Identify = new ToolStripMenuItem(); this.Trace = new ToolStripMenuItem(); this.Enter_DFU_Mode = new ToolStripMenuItem(); this.ResetDevice = new ToolStripMenuItem(); this.TimerGetSamples = new Timer(this.components); this.TimerUpdateTCPLogMessage = new Timer(this.components); this.toolStripCommBar.SuspendLayout(); this.menuStripCommMenu.SuspendLayout(); this.toolStripCommBar.Items.AddRange(new ToolStripItem[] { this.toolStripBtnConnect, this.toolStripBtnSensorSetting, this.toolStripSeparator5, this.toolStripCmbMode, this.toolStripTxtSamples, this.toolStripBtnStart, this.toolStripBtnStop, this.toolStripSeparator2, this.toolStripProgressBarAcqSample, this.toolStripLblNumSamples }); this.toolStripCommBar.Location = new Point(0, 0x30); this.toolStripCommBar.Name = "toolStripCommBar"; this.toolStripCommBar.Size = new Size(0x29f, 0x19); this.toolStripCommBar.TabIndex = 10; this.toolStripCommBar.Text = "Acquisition toolbar"; this.toolStripBtnConnect.DisplayStyle = ToolStripItemDisplayStyle.Image; this.toolStripBtnConnect.Image = (Image) resources.GetObject("toolStripBtnConnect.Image"); this.toolStripBtnConnect.ImageTransparentColor = Color.Magenta; this.toolStripBtnConnect.Name = "toolStripBtnConnect"; this.toolStripBtnConnect.Size = new Size(0x17, 0x16); this.toolStripBtnConnect.Text = "Connect"; this.toolStripBtnConnect.ToolTipText = "Connect/Disconnect"; this.toolStripBtnSensorSetting.DisplayStyle = ToolStripItemDisplayStyle.Image; this.toolStripBtnSensorSetting.Image = (Image) resources.GetObject("toolStripBtnSensorSetting.Image"); this.toolStripBtnSensorSetting.ImageTransparentColor = Color.Magenta; this.toolStripBtnSensorSetting.Name = "toolStripBtnSensorSetting"; this.toolStripBtnSensorSetting.Size = new Size(0x17, 0x16); this.toolStripBtnSensorSetting.Text = "SensorSetting"; this.toolStripBtnSensorSetting.ToolTipText = "Settings of sensors"; this.toolStripSeparator5.Name = "toolStripSeparator5"; this.toolStripSeparator5.Size = new Size(6, 0x19); this.toolStripCmbMode.DropDownStyle = ComboBoxStyle.DropDownList; this.toolStripCmbMode.Items.AddRange(new object[] { "Samples", "Continous" }); this.toolStripCmbMode.Name = "toolStripCmbMode"; this.toolStripCmbMode.Size = new Size(90, 0x19); this.toolStripCmbMode.ToolTipText = "Acquisition Mode"; this.toolStripTxtSamples.AcceptOnlyNumber = true; this.toolStripTxtSamples.MaxLength = 5; this.toolStripTxtSamples.MaxValue = 0xffffL; this.toolStripTxtSamples.MinValue = 1L; this.toolStripTxtSamples.Name = "toolStripTxtSamples"; this.toolStripTxtSamples.Size = new Size(80, 0x15); this.toolStripTxtSamples.TextBoxAlign = HorizontalAlignment.Right; this.toolStripTxtSamples.ToolTipText = "Number of samples (Max 65535)"; this.toolStripBtnStart.DisplayStyle = ToolStripItemDisplayStyle.Image; this.toolStripBtnStart.Image = (Image) resources.GetObject("toolStripBtnStart.Image"); this.toolStripBtnStart.ImageTransparentColor = Color.Magenta; this.toolStripBtnStart.Name = "toolStripBtnStart"; this.toolStripBtnStart.Size = new Size(0x17, 0x16); this.toolStripBtnStart.Text = "Start"; this.toolStripBtnStop.DisplayStyle = ToolStripItemDisplayStyle.Image; this.toolStripBtnStop.Image = (Image) resources.GetObject("toolStripBtnStop.Image"); this.toolStripBtnStop.ImageTransparentColor = Color.Magenta; this.toolStripBtnStop.Name = "toolStripBtnStop"; this.toolStripBtnStop.Size = new Size(0x17, 0x16); this.toolStripBtnStop.Text = "Stop"; this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new Size(6, 0x19); this.toolStripProgressBarAcqSample.Name = "toolStripProgressBarAcqSample"; this.toolStripProgressBarAcqSample.Size = new Size(100, 0x16); this.toolStripProgressBarAcqSample.Step = 2; this.toolStripProgressBarAcqSample.Style = ProgressBarStyle.Continuous; this.toolStripProgressBarAcqSample.ToolTipText = "Acquisition progress"; this.toolStripLblNumSamples.AutoSize = false; this.toolStripLblNumSamples.BackColor = SystemColors.Info; this.toolStripLblNumSamples.Name = "toolStripLblNumSamples"; this.toolStripLblNumSamples.Size = new Size(70, 0x16); this.toolStripLblNumSamples.TextAlign = ContentAlignment.MiddleRight; this.toolStripLblNumSamples.ToolTipText = "Number of samples"; this.menuStripCommMenu.Items.AddRange(new ToolStripItem[] { this.Communication }); this.menuStripCommMenu.Location = new Point(0, 0); this.menuStripCommMenu.Name = "menuStripCommMenu"; this.menuStripCommMenu.Size = new Size(200, 0x18); this.menuStripCommMenu.TabIndex = 0; this.menuStripCommMenu.Text = "menuStrip1"; this.Communication.DropDownItems.AddRange(new ToolStripItem[] { this.Connect, this.SensorSetting, this.Acquisition, this.Settings, this.toolStripSeparator3, this.Identify, this.Trace, this.Enter_DFU_Mode, this.ResetDevice }); this.Communication.Name = "Communication"; this.Communication.Size = new Size(0x6a, 20); this.Communication.Text = "Communication"; this.Connect.Name = "Connect"; this.Connect.Size = new Size(160, 0x16); this.Connect.Text = "Connect"; this.SensorSetting.Name = "SensorSetting"; this.SensorSetting.Size = new Size(160, 0x16); this.SensorSetting.Text = "Sensor Setting..."; this.Acquisition.DropDownItems.AddRange(new ToolStripItem[] { this.Samples, this.Continous, this.toolStripSeparator1, this.Start, this.Stop }); this.Acquisition.Name = "Acquisition"; this.Acquisition.Size = new Size(160, 0x16); this.Acquisition.Text = "Acquisition"; this.Samples.Checked = true; this.Samples.CheckState = CheckState.Checked; this.Samples.Name = "Samples"; this.Samples.Size = new Size(0x81, 0x16); this.Samples.Text = "Samples"; this.Continous.Name = "Continous"; this.Continous.Size = new Size(0x81, 0x16); this.Continous.Text = "Continous"; this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new Size(0x7e, 6); this.Start.Name = "Start"; this.Start.Size = new Size(0x81, 0x16); this.Start.Text = "Start"; this.Stop.Name = "Stop"; this.Stop.Size = new Size(0x81, 0x16); this.Stop.Text = "Stop"; this.Settings.Name = "Settings"; this.Settings.Size = new Size(160, 0x16); this.Settings.Text = "Settings..."; this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new Size(0x9d, 6); this.Identify.Name = "Identify"; this.Identify.Size = new Size(160, 0x16); this.Identify.Text = "Identify"; this.Trace.Name = "Trace"; this.Trace.Size = new Size(160, 0x16); this.Trace.Text = "Trace"; this.Enter_DFU_Mode.Name = "Enter_DFU_Mode"; this.Enter_DFU_Mode.Size = new Size(160, 0x16); this.Enter_DFU_Mode.Text = "Firmware upgrade..."; this.ResetDevice.Name = "ResetDevice"; this.ResetDevice.Size = new Size(160, 0x16); this.ResetDevice.Text = "Reset Device"; this.TimerGetSamples.Tick += new EventHandler(this.TimerGetSamples_Tick); this.TimerUpdateTCPLogMessage.Interval = 500; this.TimerUpdateTCPLogMessage.Tick += new EventHandler(this.TimerUpdateTCPLogMessage_Tick); this.toolStripCommBar.ResumeLayout(false); this.toolStripCommBar.PerformLayout(); this.menuStripCommMenu.ResumeLayout(false); this.menuStripCommMenu.PerformLayout(); }
private void InitializeComponent() { components = new Container(); toolStrip2 = new ToolStrip(); toolStripButton10 = new ToolStripButton(); toolStripSeparator5 = new ToolStripSeparator(); toolStripComboBox1 = new ToolStripComboBox(); toolStripComboBox2 = new ToolStripComboBox(); toolStripButton11 = new ToolStripButton(); toolStripButton13 = new ToolStripButton(); toolStripSeparator2 = new ToolStripSeparator(); toolStripProgressBar1 = new ToolStripProgressBar(); menuStrip1 = new MenuStrip(); Communication = new ToolStripMenuItem(); Connect = new ToolStripMenuItem(); Acquisition = new ToolStripMenuItem(); Samples = new ToolStripMenuItem(); Continous = new ToolStripMenuItem(); toolStripSeparator1 = new ToolStripSeparator(); Start = new ToolStripMenuItem(); Stop = new ToolStripMenuItem(); Settings = new ToolStripMenuItem(); timer1 = new Timer(components); toolStripLabel1 = new ToolStripLabel(); toolStripTextBox2 = new ToolStripSCTexBox(); toolStrip2.SuspendLayout(); menuStrip1.SuspendLayout(); toolStrip2.Items.AddRange(new ToolStripItem[] { toolStripButton10, toolStripSeparator5, toolStripComboBox1, toolStripComboBox2, toolStripTextBox2, toolStripButton11, toolStripButton13, toolStripSeparator2, toolStripProgressBar1, toolStripLabel1 }); toolStrip2.Location = new Point(0, 0x30); toolStrip2.Name = "toolStrip2"; toolStrip2.Size = new Size(0x29f, 0x19); toolStrip2.TabIndex = 10; toolStrip2.Text = "Acquisition toolbar"; toolStripButton10.DisplayStyle = ToolStripItemDisplayStyle.Image; toolStripButton10.Image = Resources.Connect; toolStripButton10.ImageTransparentColor = Color.Magenta; toolStripButton10.Name = "toolStripButton10"; toolStripButton10.Size = new Size(0x17, 0x16); toolStripButton10.Text = "Connect"; toolStripButton10.ToolTipText = "Connect/Disconnect"; toolStripSeparator5.Name = "toolStripSeparator5"; toolStripSeparator5.Size = new Size(6, 0x19); toolStripComboBox1.DropDownStyle = ComboBoxStyle.DropDownList; toolStripComboBox1.Items.AddRange(new object[] { "1", "10", "25", "50" }); toolStripComboBox1.Name = "toolStripComboBox1"; toolStripComboBox1.Size = new Size(0x4b, 0x19); toolStripComboBox1.ToolTipText = "Data acquisition frequency (Hz)"; toolStripComboBox2.DropDownStyle = ComboBoxStyle.DropDownList; toolStripComboBox2.Items.AddRange(new object[] { "Samples", "Continous" }); toolStripComboBox2.Name = "toolStripComboBox2"; toolStripComboBox2.Size = new Size(90, 0x19); toolStripComboBox2.ToolTipText = "Acquisition Mode"; toolStripButton11.DisplayStyle = ToolStripItemDisplayStyle.Image; toolStripButton11.Image = Resources.StartAcquistion; toolStripButton11.ImageTransparentColor = Color.Magenta; toolStripButton11.Name = "toolStripButton11"; toolStripButton11.Size = new Size(0x17, 0x16); toolStripButton11.Text = "Start"; toolStripButton13.DisplayStyle = ToolStripItemDisplayStyle.Image; toolStripButton13.Image = Resources.StopAcquistion; toolStripButton13.ImageTransparentColor = Color.Magenta; toolStripButton13.Name = "toolStripButton13"; toolStripButton13.Size = new Size(0x17, 0x16); toolStripButton13.Text = "Stop"; toolStripSeparator2.Name = "toolStripSeparator2"; toolStripSeparator2.Size = new Size(6, 0x19); toolStripProgressBar1.Name = "toolStripProgressBar1"; toolStripProgressBar1.Size = new Size(100, 0x16); toolStripProgressBar1.Step = 2; toolStripProgressBar1.Style = ProgressBarStyle.Continuous; toolStripProgressBar1.ToolTipText = "Acquisition progress"; menuStrip1.Items.AddRange(new ToolStripItem[] { Communication }); menuStrip1.Location = new Point(0, 0); menuStrip1.Name = "menuStrip1"; menuStrip1.Size = new Size(200, 0x18); menuStrip1.TabIndex = 0; menuStrip1.Text = "menuStrip1"; Communication.DropDownItems.AddRange(new ToolStripItem[] { Connect, Acquisition, Settings }); Communication.Name = "Communication"; Communication.Size = new Size(0x5b, 20); Communication.Text = "Communication"; Connect.Name = "Connect"; Connect.Size = new Size(0x88, 0x16); Connect.Text = "Connect"; Acquisition.DropDownItems.AddRange(new ToolStripItem[] { Samples, Continous, toolStripSeparator1, Start, Stop }); Acquisition.Name = "Acquisition"; Acquisition.Size = new Size(0x88, 0x16); Acquisition.Text = "Acquisition"; Samples.Checked = true; Samples.CheckState = CheckState.Checked; Samples.Name = "Samples"; Samples.Size = new Size(0x85, 0x16); Samples.Text = "Samples"; Continous.Name = "Continous"; Continous.Size = new Size(0x85, 0x16); Continous.Text = "Continous"; toolStripSeparator1.Name = "toolStripSeparator1"; toolStripSeparator1.Size = new Size(130, 6); Start.Name = "Start"; Start.Size = new Size(0x85, 0x16); Start.Text = "Start"; Stop.Name = "Stop"; Stop.Size = new Size(0x85, 0x16); Stop.Text = "Stop"; Settings.Name = "Settings"; Settings.Size = new Size(0x88, 0x16); Settings.Text = "Settings..."; timer1.Tick += new EventHandler(timer1_Tick); toolStripLabel1.AutoSize = false; toolStripLabel1.BackColor = SystemColors.Info; toolStripLabel1.Name = "toolStripLabel1"; toolStripLabel1.Size = new Size(70, 0x16); toolStripLabel1.TextAlign = ContentAlignment.MiddleRight; toolStripLabel1.ToolTipText = "Number of samples"; toolStripTextBox2.AcceptOnlyNumber = true; toolStripTextBox2.MaxLength = 5; toolStripTextBox2.MaxValue = 0xffffL; toolStripTextBox2.MinValue = 1L; toolStripTextBox2.Name = "toolStripTextBox2"; toolStripTextBox2.Size = new Size(80, 0x15); toolStripTextBox2.TextBoxAlign = HorizontalAlignment.Right; toolStripTextBox2.ToolTipText = "Number of samples (Max 65535)"; toolStrip2.ResumeLayout(false); toolStrip2.PerformLayout(); menuStrip1.ResumeLayout(false); menuStrip1.PerformLayout(); }