/// <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(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); this.serverAddressTextBox = new System.Windows.Forms.TextBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.trackStatusStopButton = new System.Windows.Forms.Button(); this.trackStatusStartButton = new System.Windows.Forms.Button(); this.axTetTrackStatus = new AxTetComp.AxTetTrackStatus(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.twoPtsRadioButton = new System.Windows.Forms.RadioButton(); this.fivePtsRadioButton = new System.Windows.Forms.RadioButton(); this.ninePtsRadioButton = new System.Windows.Forms.RadioButton(); this.recalibrateButton = new System.Windows.Forms.Button(); this.calibrateButton = new System.Windows.Forms.Button(); this.axTetCalibPlot = new AxTetComp.AxTetCalibPlot(); this.label2 = new System.Windows.Forms.Label(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.trackStopButton = new System.Windows.Forms.Button(); this.trackStartButton = new System.Windows.Forms.Button(); this.loadImage = new System.Windows.Forms.Button(); this.loadVideoBtn = new System.Windows.Forms.Button(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.eyetrackers = new System.Windows.Forms.ComboBox(); this.useManualIp = new System.Windows.Forms.CheckBox(); this.label6 = new System.Windows.Forms.Label(); this.groupBox4 = new System.Windows.Forms.GroupBox(); this.documentLensCheck = new System.Windows.Forms.RadioButton(); this.circleLensCheck = new System.Windows.Forms.RadioButton(); this.label8 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.deviationTextBox = new System.Windows.Forms.MaskedTextBox(); this.radiusTextBox = new System.Windows.Forms.MaskedTextBox(); this.heightTextBox = new System.Windows.Forms.MaskedTextBox(); this.loadLensBtn = new System.Windows.Forms.Button(); this.makeLensBtn = new System.Windows.Forms.Button(); this.backgroundWorker1 = new System.ComponentModel.BackgroundWorker(); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.backgroundWorker2 = new System.ComponentModel.BackgroundWorker(); this.videoStatusLbl = new System.Windows.Forms.Label(); this.videoStatusTimer = new System.Windows.Forms.Timer(this.components); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.axTetTrackStatus)).BeginInit(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.axTetCalibPlot)).BeginInit(); this.groupBox3.SuspendLayout(); this.groupBox4.SuspendLayout(); this.SuspendLayout(); // // serverAddressTextBox // this.serverAddressTextBox.Enabled = false; this.serverAddressTextBox.Location = new System.Drawing.Point(499, 44); this.serverAddressTextBox.Name = "serverAddressTextBox"; this.serverAddressTextBox.Size = new System.Drawing.Size(100, 20); this.serverAddressTextBox.TabIndex = 0; this.serverAddressTextBox.Text = "localhost"; this.serverAddressTextBox.TextChanged += new System.EventHandler(this.serverAddressTextBox_TextChanged); // // groupBox1 // this.groupBox1.Controls.Add(this.trackStatusStopButton); this.groupBox1.Controls.Add(this.trackStatusStartButton); this.groupBox1.Controls.Add(this.axTetTrackStatus); this.groupBox1.Location = new System.Drawing.Point(188, 84); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(410, 219); this.groupBox1.TabIndex = 2; this.groupBox1.TabStop = false; this.groupBox1.Text = "Track Status"; // // trackStatusStopButton // this.trackStatusStopButton.Enabled = false; this.trackStatusStopButton.Location = new System.Drawing.Point(16, 72); this.trackStatusStopButton.Name = "trackStatusStopButton"; this.trackStatusStopButton.Size = new System.Drawing.Size(75, 23); this.trackStatusStopButton.TabIndex = 2; this.trackStatusStopButton.Text = "S&top"; this.trackStatusStopButton.Click += new System.EventHandler(this.trackStatusStopButton_Click); // // trackStatusStartButton // this.trackStatusStartButton.Enabled = false; this.trackStatusStartButton.Location = new System.Drawing.Point(16, 32); this.trackStatusStartButton.Name = "trackStatusStartButton"; this.trackStatusStartButton.Size = new System.Drawing.Size(75, 23); this.trackStatusStartButton.TabIndex = 1; this.trackStatusStartButton.Text = "&Start"; this.trackStatusStartButton.Click += new System.EventHandler(this.trackStatusStartButton_Click); // // axTetTrackStatus // this.axTetTrackStatus.Enabled = true; this.axTetTrackStatus.Location = new System.Drawing.Point(208, 16); this.axTetTrackStatus.Name = "axTetTrackStatus"; this.axTetTrackStatus.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axTetTrackStatus.OcxState"))); this.axTetTrackStatus.Size = new System.Drawing.Size(192, 192); this.axTetTrackStatus.TabIndex = 0; // // groupBox2 // this.groupBox2.Controls.Add(this.twoPtsRadioButton); this.groupBox2.Controls.Add(this.fivePtsRadioButton); this.groupBox2.Controls.Add(this.ninePtsRadioButton); this.groupBox2.Controls.Add(this.recalibrateButton); this.groupBox2.Controls.Add(this.calibrateButton); this.groupBox2.Controls.Add(this.axTetCalibPlot); this.groupBox2.Controls.Add(this.label2); this.groupBox2.Location = new System.Drawing.Point(188, 309); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(410, 220); this.groupBox2.TabIndex = 3; this.groupBox2.TabStop = false; this.groupBox2.Text = "Calibrate"; this.groupBox2.Enter += new System.EventHandler(this.groupBox2_Enter); // // twoPtsRadioButton // this.twoPtsRadioButton.Location = new System.Drawing.Point(120, 64); this.twoPtsRadioButton.Name = "twoPtsRadioButton"; this.twoPtsRadioButton.Size = new System.Drawing.Size(64, 16); this.twoPtsRadioButton.TabIndex = 7; this.twoPtsRadioButton.Text = "&2 points"; // // fivePtsRadioButton // this.fivePtsRadioButton.Location = new System.Drawing.Point(120, 48); this.fivePtsRadioButton.Name = "fivePtsRadioButton"; this.fivePtsRadioButton.Size = new System.Drawing.Size(64, 16); this.fivePtsRadioButton.TabIndex = 6; this.fivePtsRadioButton.Text = "&5 points"; // // ninePtsRadioButton // this.ninePtsRadioButton.Checked = true; this.ninePtsRadioButton.Location = new System.Drawing.Point(120, 32); this.ninePtsRadioButton.Name = "ninePtsRadioButton"; this.ninePtsRadioButton.Size = new System.Drawing.Size(64, 16); this.ninePtsRadioButton.TabIndex = 5; this.ninePtsRadioButton.TabStop = true; this.ninePtsRadioButton.Text = "&9 points"; // // recalibrateButton // this.recalibrateButton.Enabled = false; this.recalibrateButton.Location = new System.Drawing.Point(16, 64); this.recalibrateButton.Name = "recalibrateButton"; this.recalibrateButton.Size = new System.Drawing.Size(75, 23); this.recalibrateButton.TabIndex = 3; this.recalibrateButton.Text = "&Recalibrate"; this.recalibrateButton.Click += new System.EventHandler(this.recalibrateButton_Click); // // calibrateButton // this.calibrateButton.Enabled = false; this.calibrateButton.Location = new System.Drawing.Point(16, 24); this.calibrateButton.Name = "calibrateButton"; this.calibrateButton.Size = new System.Drawing.Size(75, 23); this.calibrateButton.TabIndex = 2; this.calibrateButton.Text = "&Calibrate"; this.calibrateButton.Click += new System.EventHandler(this.calibrateButton_Click); // // axTetCalibPlot // this.axTetCalibPlot.Enabled = true; this.axTetCalibPlot.Location = new System.Drawing.Point(208, 16); this.axTetCalibPlot.Name = "axTetCalibPlot"; this.axTetCalibPlot.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axTetCalibPlot.OcxState"))); this.axTetCalibPlot.Size = new System.Drawing.Size(192, 192); this.axTetCalibPlot.TabIndex = 0; // // label2 // this.label2.Location = new System.Drawing.Point(16, 96); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(192, 16); this.label2.TabIndex = 4; this.label2.Text = "A key press interrupts the calibration."; // // groupBox3 // this.groupBox3.Controls.Add(this.trackStopButton); this.groupBox3.Controls.Add(this.trackStartButton); this.groupBox3.Controls.Add(this.loadImage); this.groupBox3.Controls.Add(this.loadVideoBtn); this.groupBox3.Location = new System.Drawing.Point(188, 535); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(112, 145); this.groupBox3.TabIndex = 4; this.groupBox3.TabStop = false; this.groupBox3.Text = "Track"; // // trackStopButton // this.trackStopButton.Enabled = false; this.trackStopButton.Location = new System.Drawing.Point(16, 50); this.trackStopButton.Name = "trackStopButton"; this.trackStopButton.Size = new System.Drawing.Size(75, 23); this.trackStopButton.TabIndex = 5; this.trackStopButton.Text = "St&op"; this.trackStopButton.Click += new System.EventHandler(this.trackStopButton_Click); // // trackStartButton // this.trackStartButton.Enabled = false; this.trackStartButton.Location = new System.Drawing.Point(16, 24); this.trackStartButton.Name = "trackStartButton"; this.trackStartButton.Size = new System.Drawing.Size(75, 23); this.trackStartButton.TabIndex = 4; this.trackStartButton.Text = "St&art"; this.trackStartButton.Click += new System.EventHandler(this.trackStartButton_Click); // // loadImage // this.loadImage.Location = new System.Drawing.Point(16, 76); this.loadImage.Name = "loadImage"; this.loadImage.Size = new System.Drawing.Size(75, 23); this.loadImage.TabIndex = 1; this.loadImage.Text = "LoadImage"; this.loadImage.UseVisualStyleBackColor = true; this.loadImage.Click += new System.EventHandler(this.loadImage_Click); // // loadVideoBtn // this.loadVideoBtn.Location = new System.Drawing.Point(16, 102); this.loadVideoBtn.Name = "loadVideoBtn"; this.loadVideoBtn.Size = new System.Drawing.Size(75, 23); this.loadVideoBtn.TabIndex = 6; this.loadVideoBtn.Text = "Load Video"; this.loadVideoBtn.UseVisualStyleBackColor = true; this.loadVideoBtn.Click += new System.EventHandler(this.loadVideoBtn_Click); // // label3 // this.label3.Location = new System.Drawing.Point(20, 92); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(152, 112); this.label3.TabIndex = 5; this.label3.Text = resources.GetString("label3.Text"); // // label4 // this.label4.Location = new System.Drawing.Point(20, 317); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(152, 112); this.label4.TabIndex = 6; this.label4.Text = "Use calibration to calibrate the eye tracker for your eyes. Hit recalibrate to im" + "prove inadequate points."; // // label5 // this.label5.Location = new System.Drawing.Point(20, 433); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(152, 96); this.label5.TabIndex = 7; this.label5.Text = "After calibrating, you are ready to start tracking gaze data. A simple square is " + "displayed where you gaze at, changing color and size depending on your distance " + "to the eye tracker."; // // eyetrackers // this.eyetrackers.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.eyetrackers.FormattingEnabled = true; this.eyetrackers.Location = new System.Drawing.Point(294, 15); this.eyetrackers.Name = "eyetrackers"; this.eyetrackers.Size = new System.Drawing.Size(305, 21); this.eyetrackers.TabIndex = 8; // // useManualIp // this.useManualIp.AutoSize = true; this.useManualIp.CheckAlign = System.Drawing.ContentAlignment.MiddleRight; this.useManualIp.Location = new System.Drawing.Point(357, 46); this.useManualIp.Name = "useManualIp"; this.useManualIp.Size = new System.Drawing.Size(136, 17); this.useManualIp.TabIndex = 9; this.useManualIp.Text = "Use Manual IP-address"; this.useManualIp.UseVisualStyleBackColor = true; this.useManualIp.CheckedChanged += new System.EventHandler(this.useManualIp_CheckedChanged); // // label6 // this.label6.Location = new System.Drawing.Point(20, 15); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(259, 32); this.label6.TabIndex = 10; this.label6.Text = "Choose an eyetracker from the list or specify a manual IP address:"; // // groupBox4 // this.groupBox4.Controls.Add(this.documentLensCheck); this.groupBox4.Controls.Add(this.circleLensCheck); this.groupBox4.Controls.Add(this.label8); this.groupBox4.Controls.Add(this.label7); this.groupBox4.Controls.Add(this.label1); this.groupBox4.Controls.Add(this.deviationTextBox); this.groupBox4.Controls.Add(this.radiusTextBox); this.groupBox4.Controls.Add(this.heightTextBox); this.groupBox4.Controls.Add(this.loadLensBtn); this.groupBox4.Controls.Add(this.makeLensBtn); this.groupBox4.Location = new System.Drawing.Point(313, 539); this.groupBox4.Name = "groupBox4"; this.groupBox4.Size = new System.Drawing.Size(286, 141); this.groupBox4.TabIndex = 11; this.groupBox4.TabStop = false; this.groupBox4.Text = "Lens"; // // documentLensCheck // this.documentLensCheck.AutoSize = true; this.documentLensCheck.Location = new System.Drawing.Point(190, 46); this.documentLensCheck.Name = "documentLensCheck"; this.documentLensCheck.Size = new System.Drawing.Size(74, 17); this.documentLensCheck.TabIndex = 10; this.documentLensCheck.Text = "Document"; this.documentLensCheck.UseVisualStyleBackColor = true; // // circleLensCheck // this.circleLensCheck.AutoSize = true; this.circleLensCheck.Checked = true; this.circleLensCheck.Location = new System.Drawing.Point(189, 19); this.circleLensCheck.Name = "circleLensCheck"; this.circleLensCheck.Size = new System.Drawing.Size(51, 17); this.circleLensCheck.TabIndex = 9; this.circleLensCheck.TabStop = true; this.circleLensCheck.Text = "Circle"; this.circleLensCheck.UseVisualStyleBackColor = true; // // label8 // this.label8.AutoSize = true; this.label8.Location = new System.Drawing.Point(24, 72); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(41, 13); this.label8.TabIndex = 8; this.label8.Text = "Height:"; // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(22, 46); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(43, 13); this.label7.TabIndex = 7; this.label7.Text = "Radius:"; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(22, 19); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(55, 13); this.label1.TabIndex = 6; this.label1.Text = "Deviation:"; // // deviationTextBox // this.deviationTextBox.Location = new System.Drawing.Point(83, 19); this.deviationTextBox.Name = "deviationTextBox"; this.deviationTextBox.Size = new System.Drawing.Size(100, 20); this.deviationTextBox.TabIndex = 4; // // radiusTextBox // this.radiusTextBox.Location = new System.Drawing.Point(83, 46); this.radiusTextBox.Name = "radiusTextBox"; this.radiusTextBox.Size = new System.Drawing.Size(100, 20); this.radiusTextBox.TabIndex = 5; // // heightTextBox // this.heightTextBox.Location = new System.Drawing.Point(83, 72); this.heightTextBox.Name = "heightTextBox"; this.heightTextBox.Size = new System.Drawing.Size(100, 20); this.heightTextBox.TabIndex = 6; // // loadLensBtn // this.loadLensBtn.Location = new System.Drawing.Point(87, 98); this.loadLensBtn.Name = "loadLensBtn"; this.loadLensBtn.Size = new System.Drawing.Size(75, 23); this.loadLensBtn.TabIndex = 2; this.loadLensBtn.Text = "Load Lens"; this.loadLensBtn.UseVisualStyleBackColor = true; this.loadLensBtn.Click += new System.EventHandler(this.loadLensBtn_Click); // // makeLensBtn // this.makeLensBtn.Location = new System.Drawing.Point(6, 98); this.makeLensBtn.Name = "makeLensBtn"; this.makeLensBtn.Size = new System.Drawing.Size(75, 23); this.makeLensBtn.TabIndex = 0; this.makeLensBtn.Text = "Make Lens"; this.makeLensBtn.UseVisualStyleBackColor = true; this.makeLensBtn.Click += new System.EventHandler(this.makeLensBtn_Click); // // backgroundWorker1 // this.backgroundWorker1.DoWork += new System.ComponentModel.DoWorkEventHandler(this.backgroundWorker1_DoWork); // // openFileDialog1 // this.openFileDialog1.FileName = "openFileDialog1"; // // backgroundWorker2 // this.backgroundWorker2.DoWork += new System.ComponentModel.DoWorkEventHandler(this.backgroundWorker2_DoWork); this.backgroundWorker2.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.backgroundWorker2_RunWorkerCompleted); // // videoStatusLbl // this.videoStatusLbl.AutoSize = true; this.videoStatusLbl.Location = new System.Drawing.Point(185, 683); this.videoStatusLbl.Name = "videoStatusLbl"; this.videoStatusLbl.Size = new System.Drawing.Size(29, 13); this.videoStatusLbl.TabIndex = 8; this.videoStatusLbl.Text = "Stop"; // // videoStatusTimer // this.videoStatusTimer.Enabled = true; this.videoStatusTimer.Tick += new System.EventHandler(this.videoStatusTimer_Tick); // // MainForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(611, 699); this.Controls.Add(this.videoStatusLbl); this.Controls.Add(this.groupBox4); this.Controls.Add(this.label6); this.Controls.Add(this.useManualIp); this.Controls.Add(this.eyetrackers); this.Controls.Add(this.label5); this.Controls.Add(this.label4); this.Controls.Add(this.label3); this.Controls.Add(this.groupBox3); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox1); this.Controls.Add(this.serverAddressTextBox); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "MainForm"; this.Text = "Tobii Eye Tracking C# Sample"; this.Load += new System.EventHandler(this.MainForm_Load); this.Closing += new System.ComponentModel.CancelEventHandler(this.MainForm_Closing); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.axTetTrackStatus)).EndInit(); this.groupBox2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.axTetCalibPlot)).EndInit(); this.groupBox3.ResumeLayout(false); this.groupBox4.ResumeLayout(false); this.groupBox4.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }