/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.testToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.transmitPositionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.remoteAimToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.fPSToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.setupToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.motionDetectionSettingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.dataTransmissionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.servosSettingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.soundSettingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.onOffSoundMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.panel1 = new System.Windows.Forms.Panel(); this.groupBox5 = new System.Windows.Forms.GroupBox(); this.AllOffButton = new System.Windows.Forms.Button(); this.groupBox4 = new System.Windows.Forms.GroupBox(); this.GunFireButton = new System.Windows.Forms.Button(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.GunTrackButton = new System.Windows.Forms.Button(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.MotionDetectionButton = new System.Windows.Forms.Button(); this.aimDot = new System.Windows.Forms.PictureBox(); this.cameraWindow1 = new AutonomousSentryGun.Forms.Motion.CameraWindow(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.CameraFeedButton = new System.Windows.Forms.Button(); this.statusBar = new System.Windows.Forms.StatusStrip(); this.fpsLabel = new System.Windows.Forms.ToolStripStatusLabel(); this.objectsCountLabel = new System.Windows.Forms.ToolStripStatusLabel(); this.timer = new System.Windows.Forms.Timer(this.components); this.TrackingTimer = new System.Windows.Forms.Timer(this.components); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog(); this.menuStrip1.SuspendLayout(); this.panel1.SuspendLayout(); this.groupBox5.SuspendLayout(); this.groupBox4.SuspendLayout(); this.groupBox3.SuspendLayout(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.aimDot)).BeginInit(); this.groupBox1.SuspendLayout(); this.statusBar.SuspendLayout(); this.SuspendLayout(); // // menuStrip1 // this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem, this.testToolStripMenuItem, this.setupToolStripMenuItem}); this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Size = new System.Drawing.Size(858, 24); this.menuStrip1.TabIndex = 0; this.menuStrip1.Text = "menuStrip1"; // // fileToolStripMenuItem // this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.exitToolStripMenuItem}); this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20); this.fileToolStripMenuItem.Text = "File"; // // exitToolStripMenuItem // this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; this.exitToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.exitToolStripMenuItem.Text = "Exit"; this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click); // // testToolStripMenuItem // this.testToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.transmitPositionToolStripMenuItem, this.remoteAimToolStripMenuItem, this.fPSToolStripMenuItem}); this.testToolStripMenuItem.Name = "testToolStripMenuItem"; this.testToolStripMenuItem.Size = new System.Drawing.Size(41, 20); this.testToolStripMenuItem.Text = "Test"; // // transmitPositionToolStripMenuItem // this.transmitPositionToolStripMenuItem.Name = "transmitPositionToolStripMenuItem"; this.transmitPositionToolStripMenuItem.Size = new System.Drawing.Size(167, 22); this.transmitPositionToolStripMenuItem.Text = "Transmit Position"; this.transmitPositionToolStripMenuItem.Click += new System.EventHandler(this.transmitPositionToolStripMenuItem_Click); // // remoteAimToolStripMenuItem // this.remoteAimToolStripMenuItem.Name = "remoteAimToolStripMenuItem"; this.remoteAimToolStripMenuItem.Size = new System.Drawing.Size(167, 22); this.remoteAimToolStripMenuItem.Text = "Remote Aim"; this.remoteAimToolStripMenuItem.Click += new System.EventHandler(this.remoteAimToolStripMenuItem_Click); // // fPSToolStripMenuItem // this.fPSToolStripMenuItem.Name = "fPSToolStripMenuItem"; this.fPSToolStripMenuItem.Size = new System.Drawing.Size(167, 22); this.fPSToolStripMenuItem.Text = "FPS Aim"; this.fPSToolStripMenuItem.Click += new System.EventHandler(this.fPSToolStripMenuItem_Click); // // setupToolStripMenuItem // this.setupToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.motionDetectionSettingsToolStripMenuItem, this.dataTransmissionToolStripMenuItem, this.servosSettingsToolStripMenuItem, this.soundSettingsToolStripMenuItem}); this.setupToolStripMenuItem.Name = "setupToolStripMenuItem"; this.setupToolStripMenuItem.Size = new System.Drawing.Size(49, 20); this.setupToolStripMenuItem.Text = "Setup"; // // motionDetectionSettingsToolStripMenuItem // this.motionDetectionSettingsToolStripMenuItem.Name = "motionDetectionSettingsToolStripMenuItem"; this.motionDetectionSettingsToolStripMenuItem.Size = new System.Drawing.Size(212, 22); this.motionDetectionSettingsToolStripMenuItem.Text = "Motion Detection Settings"; this.motionDetectionSettingsToolStripMenuItem.Click += new System.EventHandler(this.motionDetectionSettingsToolStripMenuItem_Click); // // dataTransmissionToolStripMenuItem // this.dataTransmissionToolStripMenuItem.Name = "dataTransmissionToolStripMenuItem"; this.dataTransmissionToolStripMenuItem.Size = new System.Drawing.Size(212, 22); this.dataTransmissionToolStripMenuItem.Text = "Data Transmission"; this.dataTransmissionToolStripMenuItem.Click += new System.EventHandler(this.dataTransmissionToolStripMenuItem_Click); // // servosSettingsToolStripMenuItem // this.servosSettingsToolStripMenuItem.Name = "servosSettingsToolStripMenuItem"; this.servosSettingsToolStripMenuItem.Size = new System.Drawing.Size(212, 22); this.servosSettingsToolStripMenuItem.Text = "Servos Settings"; this.servosSettingsToolStripMenuItem.Click += new System.EventHandler(this.servosSettingsToolStripMenuItem_Click); // // soundSettingsToolStripMenuItem // this.soundSettingsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.onOffSoundMenuItem}); this.soundSettingsToolStripMenuItem.Name = "soundSettingsToolStripMenuItem"; this.soundSettingsToolStripMenuItem.Size = new System.Drawing.Size(212, 22); this.soundSettingsToolStripMenuItem.Text = "Sound Settings"; // // onOffSoundMenuItem // this.onOffSoundMenuItem.Name = "onOffSoundMenuItem"; this.onOffSoundMenuItem.Size = new System.Drawing.Size(112, 22); this.onOffSoundMenuItem.Text = "On/Off"; this.onOffSoundMenuItem.Click += new System.EventHandler(this.onOffSoundMenuItem_Click); // // panel1 // this.panel1.Controls.Add(this.groupBox5); this.panel1.Controls.Add(this.groupBox4); this.panel1.Controls.Add(this.groupBox3); this.panel1.Controls.Add(this.groupBox2); this.panel1.Controls.Add(this.aimDot); this.panel1.Controls.Add(this.cameraWindow1); this.panel1.Controls.Add(this.groupBox1); this.panel1.Location = new System.Drawing.Point(0, 27); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(858, 529); this.panel1.TabIndex = 2; // // groupBox5 // this.groupBox5.Controls.Add(this.AllOffButton); this.groupBox5.ForeColor = System.Drawing.Color.Red; this.groupBox5.Location = new System.Drawing.Point(36, 209); this.groupBox5.Name = "groupBox5"; this.groupBox5.Size = new System.Drawing.Size(196, 95); this.groupBox5.TabIndex = 6; this.groupBox5.TabStop = false; this.groupBox5.Text = "All Off"; // // AllOffButton // this.AllOffButton.BackColor = System.Drawing.Color.Red; this.AllOffButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.AllOffButton.ForeColor = System.Drawing.Color.White; this.AllOffButton.Location = new System.Drawing.Point(58, 38); this.AllOffButton.Name = "AllOffButton"; this.AllOffButton.Size = new System.Drawing.Size(75, 23); this.AllOffButton.TabIndex = 3; this.AllOffButton.Text = "OFF"; this.AllOffButton.UseVisualStyleBackColor = false; this.AllOffButton.Click += new System.EventHandler(this.AllOffButton_Click); // // groupBox4 // this.groupBox4.Controls.Add(this.GunFireButton); this.groupBox4.Location = new System.Drawing.Point(624, 413); this.groupBox4.Name = "groupBox4"; this.groupBox4.Size = new System.Drawing.Size(196, 95); this.groupBox4.TabIndex = 5; this.groupBox4.TabStop = false; this.groupBox4.Text = "Gun Fire"; // // GunFireButton // this.GunFireButton.BackColor = System.Drawing.Color.Red; this.GunFireButton.Enabled = false; this.GunFireButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.GunFireButton.ForeColor = System.Drawing.Color.White; this.GunFireButton.Location = new System.Drawing.Point(58, 38); this.GunFireButton.Name = "GunFireButton"; this.GunFireButton.Size = new System.Drawing.Size(75, 23); this.GunFireButton.TabIndex = 3; this.GunFireButton.Text = "OFF"; this.GunFireButton.UseVisualStyleBackColor = false; this.GunFireButton.Click += new System.EventHandler(this.GunFireButton_Click); // // groupBox3 // this.groupBox3.Controls.Add(this.GunTrackButton); this.groupBox3.Location = new System.Drawing.Point(428, 413); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(196, 95); this.groupBox3.TabIndex = 5; this.groupBox3.TabStop = false; this.groupBox3.Text = "Gun Track"; // // GunTrackButton // this.GunTrackButton.BackColor = System.Drawing.Color.Red; this.GunTrackButton.Enabled = false; this.GunTrackButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.GunTrackButton.ForeColor = System.Drawing.Color.White; this.GunTrackButton.Location = new System.Drawing.Point(58, 38); this.GunTrackButton.Name = "GunTrackButton"; this.GunTrackButton.Size = new System.Drawing.Size(75, 23); this.GunTrackButton.TabIndex = 3; this.GunTrackButton.Text = "OFF"; this.GunTrackButton.UseVisualStyleBackColor = false; this.GunTrackButton.Click += new System.EventHandler(this.GunTrackButton_Click); // // groupBox2 // this.groupBox2.Controls.Add(this.MotionDetectionButton); this.groupBox2.Location = new System.Drawing.Point(232, 413); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(196, 95); this.groupBox2.TabIndex = 5; this.groupBox2.TabStop = false; this.groupBox2.Text = "Motion Detection"; // // MotionDetectionButton // this.MotionDetectionButton.BackColor = System.Drawing.Color.Red; this.MotionDetectionButton.Enabled = false; this.MotionDetectionButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.MotionDetectionButton.ForeColor = System.Drawing.Color.White; this.MotionDetectionButton.Location = new System.Drawing.Point(58, 38); this.MotionDetectionButton.Name = "MotionDetectionButton"; this.MotionDetectionButton.Size = new System.Drawing.Size(75, 23); this.MotionDetectionButton.TabIndex = 3; this.MotionDetectionButton.Text = "OFF"; this.MotionDetectionButton.UseVisualStyleBackColor = false; this.MotionDetectionButton.Click += new System.EventHandler(this.MotionDetectionButton_Click); // // aimDot // this.aimDot.BackColor = System.Drawing.Color.Red; this.aimDot.Location = new System.Drawing.Point(421, 252); this.aimDot.Name = "aimDot"; this.aimDot.Size = new System.Drawing.Size(5, 5); this.aimDot.TabIndex = 2; this.aimDot.TabStop = false; this.aimDot.Visible = false; // // cameraWindow1 // this.cameraWindow1.AutoSizeControl = true; this.cameraWindow1.BackColor = System.Drawing.SystemColors.ControlDarkDark; this.cameraWindow1.Camera = null; this.cameraWindow1.Location = new System.Drawing.Point(268, 143); this.cameraWindow1.Name = "cameraWindow1"; this.cameraWindow1.Size = new System.Drawing.Size(322, 242); this.cameraWindow1.TabIndex = 1; this.cameraWindow1.Text = "cameraWindow1"; // // groupBox1 // this.groupBox1.Controls.Add(this.CameraFeedButton); this.groupBox1.Location = new System.Drawing.Point(36, 413); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(196, 95); this.groupBox1.TabIndex = 4; this.groupBox1.TabStop = false; this.groupBox1.Text = "Camera Feed"; // // CameraFeedButton // this.CameraFeedButton.BackColor = System.Drawing.Color.Red; this.CameraFeedButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.CameraFeedButton.ForeColor = System.Drawing.Color.White; this.CameraFeedButton.Location = new System.Drawing.Point(58, 38); this.CameraFeedButton.Name = "CameraFeedButton"; this.CameraFeedButton.Size = new System.Drawing.Size(75, 23); this.CameraFeedButton.TabIndex = 3; this.CameraFeedButton.Text = "OFF"; this.CameraFeedButton.UseVisualStyleBackColor = false; this.CameraFeedButton.Click += new System.EventHandler(this.CameraFeedButton_Click); // // statusBar // this.statusBar.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fpsLabel, this.objectsCountLabel}); this.statusBar.Location = new System.Drawing.Point(0, 559); this.statusBar.Name = "statusBar"; this.statusBar.Size = new System.Drawing.Size(858, 22); this.statusBar.TabIndex = 4; // // fpsLabel // this.fpsLabel.AutoSize = false; this.fpsLabel.BorderSides = ((System.Windows.Forms.ToolStripStatusLabelBorderSides)((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left | System.Windows.Forms.ToolStripStatusLabelBorderSides.Top) | System.Windows.Forms.ToolStripStatusLabelBorderSides.Right) | System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom))); this.fpsLabel.BorderStyle = System.Windows.Forms.Border3DStyle.Sunken; this.fpsLabel.Name = "fpsLabel"; this.fpsLabel.Size = new System.Drawing.Size(150, 17); this.fpsLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // objectsCountLabel // this.objectsCountLabel.BorderSides = ((System.Windows.Forms.ToolStripStatusLabelBorderSides)((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left | System.Windows.Forms.ToolStripStatusLabelBorderSides.Top) | System.Windows.Forms.ToolStripStatusLabelBorderSides.Right) | System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom))); this.objectsCountLabel.BorderStyle = System.Windows.Forms.Border3DStyle.Sunken; this.objectsCountLabel.Name = "objectsCountLabel"; this.objectsCountLabel.Size = new System.Drawing.Size(693, 17); this.objectsCountLabel.Spring = true; this.objectsCountLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // timer // this.timer.Interval = 1000; this.timer.Tick += new System.EventHandler(this.timer_Tick); // // TrackingTimer // this.TrackingTimer.Interval = 150; this.TrackingTimer.Tick += new System.EventHandler(this.TrackingTimer_Tick); // // openFileDialog1 // this.openFileDialog1.FileName = "openFileDialog1"; // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(858, 581); this.Controls.Add(this.statusBar); this.Controls.Add(this.menuStrip1); this.Controls.Add(this.panel1); this.MainMenuStrip = this.menuStrip1; this.Name = "MainForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Autonomous Sentry Gun"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing); this.menuStrip1.ResumeLayout(false); this.menuStrip1.PerformLayout(); this.panel1.ResumeLayout(false); this.groupBox5.ResumeLayout(false); this.groupBox4.ResumeLayout(false); this.groupBox3.ResumeLayout(false); this.groupBox2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.aimDot)).EndInit(); this.groupBox1.ResumeLayout(false); this.statusBar.ResumeLayout(false); this.statusBar.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.redDot = new System.Windows.Forms.PictureBox(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.XTextBox = new System.Windows.Forms.TextBox(); this.YTextBox = new System.Windows.Forms.TextBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.centerButton = new System.Windows.Forms.Button(); this.PosIncTextBox = new System.Windows.Forms.TextBox(); this.label4 = new System.Windows.Forms.Label(); this.fireBox = new System.Windows.Forms.CheckBox(); this.label1 = new System.Windows.Forms.Label(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.label5 = new System.Windows.Forms.Label(); this.textBoxXServo = new System.Windows.Forms.TextBox(); this.textBoxYServo = new System.Windows.Forms.TextBox(); this.label6 = new System.Windows.Forms.Label(); this.CoordinateTimer = new System.Windows.Forms.Timer(this.components); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.label7 = new System.Windows.Forms.Label(); this.textBoxXCoord = new System.Windows.Forms.TextBox(); this.textBoxYCoord = new System.Windows.Forms.TextBox(); this.label8 = new System.Windows.Forms.Label(); this.gridBox = new CameraWindow(); this.DTbutton1 = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this.redDot)).BeginInit(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.groupBox3.SuspendLayout(); this.SuspendLayout(); // // redDot // this.redDot.Anchor = System.Windows.Forms.AnchorStyles.None; this.redDot.BackColor = System.Drawing.Color.Yellow; this.redDot.Location = new System.Drawing.Point(169, 241); this.redDot.Name = "redDot"; this.redDot.Size = new System.Drawing.Size(9, 9); this.redDot.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; this.redDot.TabIndex = 1; this.redDot.TabStop = false; this.redDot.MouseMove += new System.Windows.Forms.MouseEventHandler(this.redDot_MouseMove); this.redDot.MouseDown += new System.Windows.Forms.MouseEventHandler(this.redDot_MouseDown); this.redDot.MouseUp += new System.Windows.Forms.MouseEventHandler(this.redDot_MouseUp); // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(11, 25); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(17, 13); this.label2.TabIndex = 4; this.label2.Text = "X:"; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(11, 69); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(17, 13); this.label3.TabIndex = 5; this.label3.Text = "Y:"; // // XTextBox // this.XTextBox.Location = new System.Drawing.Point(34, 22); this.XTextBox.Name = "XTextBox"; this.XTextBox.Size = new System.Drawing.Size(46, 20); this.XTextBox.TabIndex = 8; this.XTextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.XTextBox_KeyDown); this.XTextBox.Leave += new System.EventHandler(this.XTextBox_Leave); // // YTextBox // this.YTextBox.Location = new System.Drawing.Point(34, 66); this.YTextBox.Name = "YTextBox"; this.YTextBox.Size = new System.Drawing.Size(46, 20); this.YTextBox.TabIndex = 9; this.YTextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.YTextBox_KeyDown); this.YTextBox.Leave += new System.EventHandler(this.YTextBox_Leave); // // groupBox1 // this.groupBox1.Anchor = System.Windows.Forms.AnchorStyles.None; this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.XTextBox); this.groupBox1.Controls.Add(this.YTextBox); this.groupBox1.Controls.Add(this.label3); this.groupBox1.Location = new System.Drawing.Point(53, 412); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(102, 100); this.groupBox1.TabIndex = 12; this.groupBox1.TabStop = false; this.groupBox1.Text = "Coordinate"; // // centerButton // this.centerButton.Location = new System.Drawing.Point(164, 423); this.centerButton.Name = "centerButton"; this.centerButton.Size = new System.Drawing.Size(75, 23); this.centerButton.TabIndex = 19; this.centerButton.Text = "Center"; this.centerButton.UseVisualStyleBackColor = true; this.centerButton.Click += new System.EventHandler(this.centerButton_Click); // // PosIncTextBox // this.PosIncTextBox.Location = new System.Drawing.Point(264, 492); this.PosIncTextBox.Name = "PosIncTextBox"; this.PosIncTextBox.Size = new System.Drawing.Size(60, 20); this.PosIncTextBox.TabIndex = 20; this.PosIncTextBox.TextChanged += new System.EventHandler(this.PosIncTextBox_TextChanged); this.PosIncTextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.PosIncTextBox_KeyDown); // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(161, 495); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(97, 13); this.label4.TabIndex = 21; this.label4.Text = "Position Increment:"; // // fireBox // this.fireBox.AutoSize = true; this.fireBox.Location = new System.Drawing.Point(164, 461); this.fireBox.Name = "fireBox"; this.fireBox.Size = new System.Drawing.Size(68, 17); this.fireBox.TabIndex = 22; this.fireBox.Text = "FIRE!!!!!!"; this.fireBox.UseVisualStyleBackColor = true; this.fireBox.CheckedChanged += new System.EventHandler(this.fireBox_CheckedChanged); // // label1 // this.label1.AutoSize = true; this.label1.BackColor = System.Drawing.Color.White; this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(148, 120); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(21, 9); this.label1.TabIndex = 14; this.label1.Text = "(0,0)\r\n"; // // groupBox2 // this.groupBox2.Anchor = System.Windows.Forms.AnchorStyles.None; this.groupBox2.Controls.Add(this.label5); this.groupBox2.Controls.Add(this.textBoxXServo); this.groupBox2.Controls.Add(this.textBoxYServo); this.groupBox2.Controls.Add(this.label6); this.groupBox2.Location = new System.Drawing.Point(31, 12); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(102, 100); this.groupBox2.TabIndex = 24; this.groupBox2.TabStop = false; this.groupBox2.Text = "Servos Range"; // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(11, 25); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(17, 13); this.label5.TabIndex = 4; this.label5.Text = "X:"; // // textBoxXServo // this.textBoxXServo.Location = new System.Drawing.Point(34, 22); this.textBoxXServo.Name = "textBoxXServo"; this.textBoxXServo.Size = new System.Drawing.Size(46, 20); this.textBoxXServo.TabIndex = 8; this.textBoxXServo.MouseLeave += new System.EventHandler(this.textBoxXServo_MouseLeave); // // textBoxYServo // this.textBoxYServo.Location = new System.Drawing.Point(34, 66); this.textBoxYServo.Name = "textBoxYServo"; this.textBoxYServo.Size = new System.Drawing.Size(46, 20); this.textBoxYServo.TabIndex = 9; this.textBoxYServo.MouseLeave += new System.EventHandler(this.textBoxYServo_MouseLeave); // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(11, 69); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(17, 13); this.label6.TabIndex = 5; this.label6.Text = "Y:"; // // CoordinateTimer // this.CoordinateTimer.Interval = 150; this.CoordinateTimer.Tick += new System.EventHandler(this.CoordinateTimer_Tick); // // groupBox3 // this.groupBox3.Anchor = System.Windows.Forms.AnchorStyles.None; this.groupBox3.Controls.Add(this.label7); this.groupBox3.Controls.Add(this.textBoxXCoord); this.groupBox3.Controls.Add(this.textBoxYCoord); this.groupBox3.Controls.Add(this.label8); this.groupBox3.Location = new System.Drawing.Point(209, 12); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(115, 100); this.groupBox3.TabIndex = 25; this.groupBox3.TabStop = false; this.groupBox3.Text = "Servo Coordinates"; // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(11, 25); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(17, 13); this.label7.TabIndex = 4; this.label7.Text = "X:"; // // textBoxXCoord // this.textBoxXCoord.Location = new System.Drawing.Point(34, 22); this.textBoxXCoord.Name = "textBoxXCoord"; this.textBoxXCoord.Size = new System.Drawing.Size(46, 20); this.textBoxXCoord.TabIndex = 8; // // textBoxYCoord // this.textBoxYCoord.Location = new System.Drawing.Point(34, 66); this.textBoxYCoord.Name = "textBoxYCoord"; this.textBoxYCoord.Size = new System.Drawing.Size(46, 20); this.textBoxYCoord.TabIndex = 9; // // label8 // this.label8.AutoSize = true; this.label8.Location = new System.Drawing.Point(11, 69); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(17, 13); this.label8.TabIndex = 5; this.label8.Text = "Y:"; // // gridBox // this.gridBox.AutoSizeControl = true; this.gridBox.BackColor = System.Drawing.SystemColors.ControlDarkDark; this.gridBox.Camera = null; this.gridBox.Location = new System.Drawing.Point(15, 139); this.gridBox.Name = "gridBox"; this.gridBox.Size = new System.Drawing.Size(322, 242); this.gridBox.TabIndex = 23; this.gridBox.Text = "cameraWindow1"; // // DTbutton1 // this.DTbutton1.Location = new System.Drawing.Point(249, 414); this.DTbutton1.Name = "DTbutton1"; this.DTbutton1.Size = new System.Drawing.Size(92, 41); this.DTbutton1.TabIndex = 26; this.DTbutton1.Text = "Data Transmission"; this.DTbutton1.UseVisualStyleBackColor = true; this.DTbutton1.Click += new System.EventHandler(this.DTbutton1_Click); // // RemoteAim // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(353, 520); this.Controls.Add(this.DTbutton1); this.Controls.Add(this.groupBox3); this.Controls.Add(this.groupBox2); this.Controls.Add(this.redDot); this.Controls.Add(this.gridBox); this.Controls.Add(this.fireBox); this.Controls.Add(this.label4); this.Controls.Add(this.PosIncTextBox); this.Controls.Add(this.centerButton); this.Controls.Add(this.label1); this.Controls.Add(this.groupBox1); this.Name = "RemoteAim"; this.Text = "RemoteAim"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.RemoteAim_FormClosing); this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.RemoteAim_KeyDown); ((System.ComponentModel.ISupportInitialize)(this.redDot)).EndInit(); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); this.groupBox3.ResumeLayout(false); this.groupBox3.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }