private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.cbOn = new System.Windows.Forms.CheckBox();
this.tbSpeed = new System.Windows.Forms.TextBox();
this.tbDifference = new System.Windows.Forms.TrackBar();
this.lblData = new System.Windows.Forms.Label();
this.lbHistory = new System.Windows.Forms.ListBox();
this.serial = new System.IO.Ports.SerialPort(this.components);
this.cbManual = new System.Windows.Forms.CheckBox();
this.btnShowPorts = new System.Windows.Forms.Button();
this.tabControl1 = new System.Windows.Forms.TabControl();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.cbAuto = new System.Windows.Forms.CheckBox();
this.cbSave = new System.Windows.Forms.CheckBox();
this.tabPage2 = new System.Windows.Forms.TabPage();
this.btnCalSave = new System.Windows.Forms.Button();
this.btnCalLoad = new System.Windows.Forms.Button();
this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.tbMinY = new System.Windows.Forms.TrackBar();
this.tbMaxY = new System.Windows.Forms.TrackBar();
this.tbMinX = new System.Windows.Forms.TrackBar();
this.tbMaxX = new System.Windows.Forms.TrackBar();
this.pbIgnoreMotion = new System.Windows.Forms.PictureBox();
this.pbMotion = new System.Windows.Forms.PictureBox();
this.pbCurrent = new System.Windows.Forms.PictureBox();
this.pbLast = new System.Windows.Forms.PictureBox();
this.tmrCheckMotion = new System.Windows.Forms.Timer(this.components);
((System.ComponentModel.ISupportInitialize)(this.tbDifference)).BeginInit();
this.tabControl1.SuspendLayout();
this.tabPage1.SuspendLayout();
this.tabPage2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.tbMinY)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.tbMaxY)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.tbMinX)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.tbMaxX)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pbIgnoreMotion)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pbMotion)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pbCurrent)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pbLast)).BeginInit();
this.SuspendLayout();
//
// cbOn
//
this.cbOn.AutoSize = true;
this.cbOn.Location = new System.Drawing.Point(8, 7);
this.cbOn.Margin = new System.Windows.Forms.Padding(4);
this.cbOn.Name = "cbOn";
this.cbOn.Size = new System.Drawing.Size(49, 21);
this.cbOn.TabIndex = 11;
this.cbOn.Text = "On";
this.cbOn.UseVisualStyleBackColor = true;
this.cbOn.CheckedChanged += new System.EventHandler(this.cbOn_CheckedChanged);
//
// tbSpeed
//
this.tbSpeed.Location = new System.Drawing.Point(159, 4);
this.tbSpeed.Margin = new System.Windows.Forms.Padding(4);
this.tbSpeed.Name = "tbSpeed";
this.tbSpeed.Size = new System.Drawing.Size(56, 22);
this.tbSpeed.TabIndex = 12;
this.tbSpeed.Text = "50";
this.tbSpeed.Validating += new System.ComponentModel.CancelEventHandler(this.tbSpeed_Validating);
//
// tbDifference
//
this.tbDifference.BackColor = System.Drawing.SystemColors.ButtonHighlight;
this.tbDifference.LargeChange = 10;
this.tbDifference.Location = new System.Drawing.Point(8, 30);
this.tbDifference.Margin = new System.Windows.Forms.Padding(4);
this.tbDifference.Maximum = 160;
this.tbDifference.Name = "tbDifference";
this.tbDifference.Size = new System.Drawing.Size(208, 56);
this.tbDifference.TabIndex = 15;
this.tbDifference.TickStyle = System.Windows.Forms.TickStyle.None;
this.tbDifference.Value = 60;
this.tbDifference.Scroll += new System.EventHandler(this.tbDifference_Scroll);
//
// lblData
//
this.lblData.AutoSize = true;
this.lblData.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblData.ForeColor = System.Drawing.Color.Red;
this.lblData.Location = new System.Drawing.Point(1232, 27);
this.lblData.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lblData.Name = "lblData";
this.lblData.Size = new System.Drawing.Size(16, 23);
this.lblData.TabIndex = 17;
this.lblData.Text = "-";
//
// lbHistory
//
this.lbHistory.FormattingEnabled = true;
this.lbHistory.ItemHeight = 16;
this.lbHistory.Location = new System.Drawing.Point(224, 4);
this.lbHistory.Margin = new System.Windows.Forms.Padding(4);
this.lbHistory.Name = "lbHistory";
this.lbHistory.Size = new System.Drawing.Size(217, 84);
this.lbHistory.TabIndex = 18;
//
// serial
//
this.serial.PortName = "COM3";
//
// cbManual
//
this.cbManual.AutoSize = true;
this.cbManual.Location = new System.Drawing.Point(69, 7);
this.cbManual.Margin = new System.Windows.Forms.Padding(4);
this.cbManual.Name = "cbManual";
this.cbManual.Size = new System.Drawing.Size(76, 21);
this.cbManual.TabIndex = 19;
this.cbManual.Text = "Manual";
this.cbManual.UseVisualStyleBackColor = true;
//
// btnShowPorts
//
this.btnShowPorts.Location = new System.Drawing.Point(347, 159);
this.btnShowPorts.Margin = new System.Windows.Forms.Padding(4);
this.btnShowPorts.Name = "btnShowPorts";
this.btnShowPorts.Size = new System.Drawing.Size(129, 28);
this.btnShowPorts.TabIndex = 20;
this.btnShowPorts.Text = "Show COM Ports";
this.btnShowPorts.UseVisualStyleBackColor = true;
this.btnShowPorts.Click += new System.EventHandler(this.btnShowPorts_Click);
//
// tabControl1
//
this.tabControl1.Controls.Add(this.tabPage1);
this.tabControl1.Controls.Add(this.tabPage2);
this.tabControl1.Location = new System.Drawing.Point(16, 164);
this.tabControl1.Margin = new System.Windows.Forms.Padding(4);
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
this.tabControl1.Size = new System.Drawing.Size(461, 127);
this.tabControl1.TabIndex = 21;
//
// tabPage1
//
this.tabPage1.Controls.Add(this.cbAuto);
this.tabPage1.Controls.Add(this.cbSave);
this.tabPage1.Controls.Add(this.cbOn);
this.tabPage1.Controls.Add(this.cbManual);
this.tabPage1.Controls.Add(this.lbHistory);
this.tabPage1.Controls.Add(this.tbDifference);
this.tabPage1.Controls.Add(this.tbSpeed);
this.tabPage1.Location = new System.Drawing.Point(4, 25);
this.tabPage1.Margin = new System.Windows.Forms.Padding(4);
this.tabPage1.Name = "tabPage1";
this.tabPage1.Padding = new System.Windows.Forms.Padding(4);
this.tabPage1.Size = new System.Drawing.Size(453, 98);
this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "Settings";
this.tabPage1.UseVisualStyleBackColor = true;
//
// cbAuto
//
this.cbAuto.AutoSize = true;
this.cbAuto.Location = new System.Drawing.Point(116, 57);
this.cbAuto.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.cbAuto.Name = "cbAuto";
this.cbAuto.Size = new System.Drawing.Size(94, 21);
this.cbAuto.TabIndex = 21;
this.cbAuto.Text = "Auto Ajust";
this.cbAuto.UseVisualStyleBackColor = true;
//
// cbSave
//
this.cbSave.AutoSize = true;
this.cbSave.Location = new System.Drawing.Point(12, 57);
this.cbSave.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.cbSave.Name = "cbSave";
this.cbSave.Size = new System.Drawing.Size(106, 21);
this.cbSave.TabIndex = 22;
this.cbSave.Text = "Save Frame";
this.cbSave.UseVisualStyleBackColor = true;
//
// tabPage2
//
this.tabPage2.Controls.Add(this.btnCalSave);
this.tabPage2.Controls.Add(this.btnCalLoad);
this.tabPage2.Controls.Add(this.label2);
this.tabPage2.Controls.Add(this.label1);
this.tabPage2.Controls.Add(this.tbMinY);
this.tabPage2.Controls.Add(this.tbMaxY);
this.tabPage2.Controls.Add(this.tbMinX);
this.tabPage2.Controls.Add(this.tbMaxX);
this.tabPage2.Location = new System.Drawing.Point(4, 25);
this.tabPage2.Margin = new System.Windows.Forms.Padding(4);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Padding = new System.Windows.Forms.Padding(4);
this.tabPage2.Size = new System.Drawing.Size(453, 98);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "Calibrate";
this.tabPage2.UseVisualStyleBackColor = true;
this.tabPage2.Click += new System.EventHandler(this.tabPage2_Click);
//
// btnCalSave
//
this.btnCalSave.Location = new System.Drawing.Point(229, 4);
this.btnCalSave.Margin = new System.Windows.Forms.Padding(4);
this.btnCalSave.Name = "btnCalSave";
this.btnCalSave.Size = new System.Drawing.Size(39, 28);
this.btnCalSave.TabIndex = 23;
this.btnCalSave.Text = "SV";
this.btnCalSave.UseVisualStyleBackColor = true;
//
// btnCalLoad
//
this.btnCalLoad.Location = new System.Drawing.Point(183, 4);
this.btnCalLoad.Margin = new System.Windows.Forms.Padding(4);
this.btnCalLoad.Name = "btnCalLoad";
this.btnCalLoad.Size = new System.Drawing.Size(39, 28);
this.btnCalLoad.TabIndex = 22;
this.btnCalLoad.Text = "LD";
this.btnCalLoad.UseVisualStyleBackColor = true;
this.btnCalLoad.Click += new System.EventHandler(this.btnCalLoad_Click);
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(276, 10);
this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(135, 17);
this.label2.TabIndex = 5;
this.label2.Text = "Bottom Right of cam";
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(55, 10);
this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(107, 17);
this.label1.TabIndex = 4;
this.label1.Text = "Top Left of cam";
//
// tbMinY
//
this.tbMinY.Location = new System.Drawing.Point(8, 70);
this.tbMinY.Margin = new System.Windows.Forms.Padding(4);
this.tbMinY.Maximum = 180;
this.tbMinY.Name = "tbMinY";
this.tbMinY.Size = new System.Drawing.Size(213, 56);
this.tbMinY.TabIndex = 2;
this.tbMinY.TickFrequency = 0;
this.tbMinY.TickStyle = System.Windows.Forms.TickStyle.None;
this.tbMinY.Scroll += new System.EventHandler(this.tbMinY_Scroll);
//
// tbMaxY
//
this.tbMaxY.Location = new System.Drawing.Point(229, 70);
this.tbMaxY.Margin = new System.Windows.Forms.Padding(4);
this.tbMaxY.Maximum = 180;
this.tbMaxY.Name = "tbMaxY";
this.tbMaxY.Size = new System.Drawing.Size(213, 56);
this.tbMaxY.TabIndex = 1;
this.tbMaxY.TickFrequency = 0;
this.tbMaxY.TickStyle = System.Windows.Forms.TickStyle.None;
this.tbMaxY.Scroll += new System.EventHandler(this.tbMaxY_Scroll);
//
// tbMinX
//
this.tbMinX.Location = new System.Drawing.Point(8, 36);
this.tbMinX.Margin = new System.Windows.Forms.Padding(4);
this.tbMinX.Maximum = 180;
this.tbMinX.Name = "tbMinX";
this.tbMinX.Size = new System.Drawing.Size(213, 56);
this.tbMinX.TabIndex = 0;
this.tbMinX.TickFrequency = 0;
this.tbMinX.TickStyle = System.Windows.Forms.TickStyle.None;
this.tbMinX.Scroll += new System.EventHandler(this.tbMinX_Scroll);
//
// tbMaxX
//
this.tbMaxX.Location = new System.Drawing.Point(229, 36);
this.tbMaxX.Margin = new System.Windows.Forms.Padding(4);
this.tbMaxX.Maximum = 180;
this.tbMaxX.Name = "tbMaxX";
this.tbMaxX.Size = new System.Drawing.Size(213, 56);
this.tbMaxX.TabIndex = 3;
this.tbMaxX.TickFrequency = 0;
this.tbMaxX.TickStyle = System.Windows.Forms.TickStyle.None;
this.tbMaxX.Scroll += new System.EventHandler(this.trackBar4_Scroll);
//
// pbIgnoreMotion
//
this.pbIgnoreMotion.Location = new System.Drawing.Point(251, 9);
this.pbIgnoreMotion.Margin = new System.Windows.Forms.Padding(4);
this.pbIgnoreMotion.Name = "pbIgnoreMotion";
this.pbIgnoreMotion.Size = new System.Drawing.Size(227, 148);
this.pbIgnoreMotion.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pbIgnoreMotion.TabIndex = 16;
this.pbIgnoreMotion.TabStop = false;
this.pbIgnoreMotion.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.pbIgnoreMotion_MouseDoubleClick);
this.pbIgnoreMotion.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbIgnoreMotion_MouseDown);
this.pbIgnoreMotion.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbIgnoreMotion_MouseUp);
//
// pbMotion
//
this.pbMotion.Location = new System.Drawing.Point(481, 9);
this.pbMotion.Margin = new System.Windows.Forms.Padding(4);
this.pbMotion.Name = "pbMotion";
this.pbMotion.Size = new System.Drawing.Size(853, 591);
this.pbMotion.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pbMotion.TabIndex = 3;
this.pbMotion.TabStop = false;
//
// pbCurrent
//
this.pbCurrent.Location = new System.Drawing.Point(16, 298);
this.pbCurrent.Margin = new System.Windows.Forms.Padding(4);
this.pbCurrent.Name = "pbCurrent";
this.pbCurrent.Size = new System.Drawing.Size(461, 303);
this.pbCurrent.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pbCurrent.TabIndex = 1;
this.pbCurrent.TabStop = false;
this.pbCurrent.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pbCurrent_MouseMove);
this.pbCurrent.Click += new System.EventHandler(this.pbCurrent_Click);
//
// pbLast
//
this.pbLast.Location = new System.Drawing.Point(16, 9);
this.pbLast.Margin = new System.Windows.Forms.Padding(4);
this.pbLast.Name = "pbLast";
this.pbLast.Size = new System.Drawing.Size(227, 148);
this.pbLast.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pbLast.TabIndex = 0;
this.pbLast.TabStop = false;
//
// tmrCheckMotion
//
this.tmrCheckMotion.Interval = 50;
this.tmrCheckMotion.Tick += new System.EventHandler(this.tmrCheckMotion_Tick);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1414, 615);
this.Controls.Add(this.btnShowPorts);
this.Controls.Add(this.tabControl1);
this.Controls.Add(this.lblData);
this.Controls.Add(this.pbIgnoreMotion);
this.Controls.Add(this.pbMotion);
this.Controls.Add(this.pbCurrent);
this.Controls.Add(this.pbLast);
this.Margin = new System.Windows.Forms.Padding(4);
this.Name = "Form1";
this.Text = "Motion Detection";
this.Load += new System.EventHandler(this.Form1_Load);
((System.ComponentModel.ISupportInitialize)(this.tbDifference)).EndInit();
this.tabControl1.ResumeLayout(false);
this.tabPage1.ResumeLayout(false);
this.tabPage1.PerformLayout();
this.tabPage2.ResumeLayout(false);
this.tabPage2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.tbMinY)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.tbMaxY)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.tbMinX)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.tbMaxX)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pbIgnoreMotion)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pbMotion)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pbCurrent)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pbLast)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}