Added placeholders for the main page

This commit is contained in:
2023-05-22 16:04:27 +02:00
parent dd3dbcadf6
commit 195108bcde

View File

@@ -29,38 +29,65 @@
private void InitializeComponent()
{
this.btnSettings = new System.Windows.Forms.Button();
this.tbxResult = new System.Windows.Forms.TextBox();
this.btnStartDecoding = new System.Windows.Forms.Button();
this.pbxResult = new System.Windows.Forms.PictureBox();
this.btnStopUpdating = new System.Windows.Forms.Button();
this.btnResetEmulator = new System.Windows.Forms.Button();
this.listBox1 = new System.Windows.Forms.ListBox();
this.gpbxControls = new System.Windows.Forms.GroupBox();
this.label1 = new System.Windows.Forms.Label();
this.textBox1 = new System.Windows.Forms.TextBox();
this.gpbxRanking = new System.Windows.Forms.GroupBox();
this.gpbxOvertakes = new System.Windows.Forms.GroupBox();
this.pnlLiveRanking = new System.Windows.Forms.Panel();
this.gpbxDriverInfos = new System.Windows.Forms.GroupBox();
this.gpbxLapTimes = new System.Windows.Forms.GroupBox();
this.pnlGainingTime = new System.Windows.Forms.Panel();
this.pnlLosingTime = new System.Windows.Forms.Panel();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.gpbxBattles = new System.Windows.Forms.GroupBox();
this.pnlOvertakes = new System.Windows.Forms.Panel();
this.pnlBattles = new System.Windows.Forms.Panel();
this.lblCurrentDriverName = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.lblCurrentDriverLapTime = new System.Windows.Forms.Label();
this.pnlCurrentDriverLapsHistory = new System.Windows.Forms.Panel();
this.label6 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.lblCurrentDriverGapToLeader = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.lblCurrentDriverTyreType = new System.Windows.Forms.Label();
this.lblCurrentDriverTyreAge = new System.Windows.Forms.Label();
this.lblCurrentDriverDRS = new System.Windows.Forms.Label();
this.label11 = new System.Windows.Forms.Label();
this.lblCurrentDriverPosition = new System.Windows.Forms.Label();
this.tbxResult = new System.Windows.Forms.TextBox();
((System.ComponentModel.ISupportInitialize)(this.pbxResult)).BeginInit();
this.gpbxControls.SuspendLayout();
this.gpbxRanking.SuspendLayout();
this.gpbxOvertakes.SuspendLayout();
this.pnlLiveRanking.SuspendLayout();
this.gpbxDriverInfos.SuspendLayout();
this.gpbxLapTimes.SuspendLayout();
this.gpbxBattles.SuspendLayout();
this.SuspendLayout();
//
// btnSettings
//
this.btnSettings.Location = new System.Drawing.Point(12, 12);
this.btnSettings.Location = new System.Drawing.Point(6, 21);
this.btnSettings.Name = "btnSettings";
this.btnSettings.Size = new System.Drawing.Size(102, 53);
this.btnSettings.Size = new System.Drawing.Size(127, 27);
this.btnSettings.TabIndex = 0;
this.btnSettings.Text = "Settings";
this.btnSettings.Text = "Config";
this.btnSettings.UseVisualStyleBackColor = true;
this.btnSettings.Click += new System.EventHandler(this.btnSettings_Click);
//
// tbxResult
//
this.tbxResult.Location = new System.Drawing.Point(12, 71);
this.tbxResult.Multiline = true;
this.tbxResult.Name = "tbxResult";
this.tbxResult.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.tbxResult.Size = new System.Drawing.Size(310, 249);
this.tbxResult.TabIndex = 1;
//
// btnStartDecoding
//
this.btnStartDecoding.Location = new System.Drawing.Point(120, 12);
this.btnStartDecoding.Location = new System.Drawing.Point(6, 54);
this.btnStartDecoding.Name = "btnStartDecoding";
this.btnStartDecoding.Size = new System.Drawing.Size(102, 53);
this.btnStartDecoding.Size = new System.Drawing.Size(127, 27);
this.btnStartDecoding.TabIndex = 2;
this.btnStartDecoding.Text = "Start";
this.btnStartDecoding.UseVisualStyleBackColor = true;
@@ -68,18 +95,18 @@
//
// pbxResult
//
this.pbxResult.Location = new System.Drawing.Point(328, 71);
this.pbxResult.Location = new System.Drawing.Point(6, 191);
this.pbxResult.Name = "pbxResult";
this.pbxResult.Size = new System.Drawing.Size(460, 249);
this.pbxResult.Size = new System.Drawing.Size(274, 151);
this.pbxResult.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pbxResult.TabIndex = 3;
this.pbxResult.TabStop = false;
//
// btnStopUpdating
//
this.btnStopUpdating.Location = new System.Drawing.Point(228, 12);
this.btnStopUpdating.Location = new System.Drawing.Point(153, 54);
this.btnStopUpdating.Name = "btnStopUpdating";
this.btnStopUpdating.Size = new System.Drawing.Size(102, 53);
this.btnStopUpdating.Size = new System.Drawing.Size(128, 27);
this.btnStopUpdating.TabIndex = 4;
this.btnStopUpdating.Text = "Stop";
this.btnStopUpdating.UseVisualStyleBackColor = true;
@@ -87,43 +114,378 @@
//
// btnResetEmulator
//
this.btnResetEmulator.Location = new System.Drawing.Point(336, 12);
this.btnResetEmulator.Location = new System.Drawing.Point(153, 21);
this.btnResetEmulator.Name = "btnResetEmulator";
this.btnResetEmulator.Size = new System.Drawing.Size(162, 53);
this.btnResetEmulator.Size = new System.Drawing.Size(128, 27);
this.btnResetEmulator.TabIndex = 5;
this.btnResetEmulator.Text = "Reset emulator";
this.btnResetEmulator.Text = "Reset";
this.btnResetEmulator.UseVisualStyleBackColor = true;
this.btnResetEmulator.Click += new System.EventHandler(this.button1_Click);
//
// listBox1
//
this.listBox1.FormattingEnabled = true;
this.listBox1.ItemHeight = 16;
this.listBox1.Location = new System.Drawing.Point(6, 133);
this.listBox1.Name = "listBox1";
this.listBox1.Size = new System.Drawing.Size(274, 52);
this.listBox1.TabIndex = 6;
//
// gpbxControls
//
this.gpbxControls.Controls.Add(this.textBox1);
this.gpbxControls.Controls.Add(this.btnResetEmulator);
this.gpbxControls.Controls.Add(this.label1);
this.gpbxControls.Controls.Add(this.btnStopUpdating);
this.gpbxControls.Controls.Add(this.pbxResult);
this.gpbxControls.Controls.Add(this.btnStartDecoding);
this.gpbxControls.Controls.Add(this.listBox1);
this.gpbxControls.Controls.Add(this.btnSettings);
this.gpbxControls.Location = new System.Drawing.Point(987, 360);
this.gpbxControls.Name = "gpbxControls";
this.gpbxControls.Size = new System.Drawing.Size(287, 348);
this.gpbxControls.TabIndex = 7;
this.gpbxControls.TabStop = false;
this.gpbxControls.Text = "Controls";
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(3, 86);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(99, 16);
this.label1.TabIndex = 7;
this.label1.Text = "Grand Prix URL";
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(6, 105);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(274, 22);
this.textBox1.TabIndex = 8;
//
// gpbxRanking
//
this.gpbxRanking.Controls.Add(this.pnlLiveRanking);
this.gpbxRanking.Location = new System.Drawing.Point(12, 12);
this.gpbxRanking.Name = "gpbxRanking";
this.gpbxRanking.Size = new System.Drawing.Size(353, 696);
this.gpbxRanking.TabIndex = 8;
this.gpbxRanking.TabStop = false;
this.gpbxRanking.Text = "Live Ranking";
//
// gpbxOvertakes
//
this.gpbxOvertakes.Controls.Add(this.pnlOvertakes);
this.gpbxOvertakes.Location = new System.Drawing.Point(987, 12);
this.gpbxOvertakes.Name = "gpbxOvertakes";
this.gpbxOvertakes.Size = new System.Drawing.Size(287, 342);
this.gpbxOvertakes.TabIndex = 9;
this.gpbxOvertakes.TabStop = false;
this.gpbxOvertakes.Text = "Overtakes";
//
// pnlLiveRanking
//
this.pnlLiveRanking.Controls.Add(this.tbxResult);
this.pnlLiveRanking.Location = new System.Drawing.Point(6, 21);
this.pnlLiveRanking.Name = "pnlLiveRanking";
this.pnlLiveRanking.Size = new System.Drawing.Size(341, 669);
this.pnlLiveRanking.TabIndex = 0;
//
// gpbxDriverInfos
//
this.gpbxDriverInfos.Controls.Add(this.lblCurrentDriverPosition);
this.gpbxDriverInfos.Controls.Add(this.lblCurrentDriverDRS);
this.gpbxDriverInfos.Controls.Add(this.label11);
this.gpbxDriverInfos.Controls.Add(this.lblCurrentDriverTyreAge);
this.gpbxDriverInfos.Controls.Add(this.lblCurrentDriverTyreType);
this.gpbxDriverInfos.Controls.Add(this.label8);
this.gpbxDriverInfos.Controls.Add(this.lblCurrentDriverGapToLeader);
this.gpbxDriverInfos.Controls.Add(this.label5);
this.gpbxDriverInfos.Controls.Add(this.label6);
this.gpbxDriverInfos.Controls.Add(this.pnlCurrentDriverLapsHistory);
this.gpbxDriverInfos.Controls.Add(this.lblCurrentDriverLapTime);
this.gpbxDriverInfos.Controls.Add(this.label4);
this.gpbxDriverInfos.Controls.Add(this.lblCurrentDriverName);
this.gpbxDriverInfos.Location = new System.Drawing.Point(371, 461);
this.gpbxDriverInfos.Name = "gpbxDriverInfos";
this.gpbxDriverInfos.Size = new System.Drawing.Size(610, 247);
this.gpbxDriverInfos.TabIndex = 10;
this.gpbxDriverInfos.TabStop = false;
this.gpbxDriverInfos.Text = "Driver infos";
//
// gpbxLapTimes
//
this.gpbxLapTimes.Controls.Add(this.label3);
this.gpbxLapTimes.Controls.Add(this.label2);
this.gpbxLapTimes.Controls.Add(this.pnlLosingTime);
this.gpbxLapTimes.Controls.Add(this.pnlGainingTime);
this.gpbxLapTimes.Location = new System.Drawing.Point(371, 12);
this.gpbxLapTimes.Name = "gpbxLapTimes";
this.gpbxLapTimes.Size = new System.Drawing.Size(610, 239);
this.gpbxLapTimes.TabIndex = 11;
this.gpbxLapTimes.TabStop = false;
this.gpbxLapTimes.Text = "Driver infos";
//
// pnlGainingTime
//
this.pnlGainingTime.Location = new System.Drawing.Point(6, 33);
this.pnlGainingTime.Name = "pnlGainingTime";
this.pnlGainingTime.Size = new System.Drawing.Size(290, 200);
this.pnlGainingTime.TabIndex = 0;
//
// pnlLosingTime
//
this.pnlLosingTime.Location = new System.Drawing.Point(314, 33);
this.pnlLosingTime.Name = "pnlLosingTime";
this.pnlLosingTime.Size = new System.Drawing.Size(290, 200);
this.pnlLosingTime.TabIndex = 1;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(6, 14);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(81, 16);
this.label2.TabIndex = 2;
this.label2.Text = "Gaining time";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(311, 14);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(75, 16);
this.label3.TabIndex = 3;
this.label3.Text = "Losing time";
//
// gpbxBattles
//
this.gpbxBattles.Controls.Add(this.pnlBattles);
this.gpbxBattles.Location = new System.Drawing.Point(371, 257);
this.gpbxBattles.Name = "gpbxBattles";
this.gpbxBattles.Size = new System.Drawing.Size(610, 198);
this.gpbxBattles.TabIndex = 11;
this.gpbxBattles.TabStop = false;
this.gpbxBattles.Text = "Battles";
//
// pnlOvertakes
//
this.pnlOvertakes.Location = new System.Drawing.Point(6, 21);
this.pnlOvertakes.Name = "pnlOvertakes";
this.pnlOvertakes.Size = new System.Drawing.Size(275, 315);
this.pnlOvertakes.TabIndex = 2;
//
// pnlBattles
//
this.pnlBattles.Location = new System.Drawing.Point(9, 21);
this.pnlBattles.Name = "pnlBattles";
this.pnlBattles.Size = new System.Drawing.Size(595, 171);
this.pnlBattles.TabIndex = 2;
//
// lblCurrentDriverName
//
this.lblCurrentDriverName.AutoSize = true;
this.lblCurrentDriverName.Font = new System.Drawing.Font("Microsoft YaHei UI", 16.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblCurrentDriverName.Location = new System.Drawing.Point(6, 18);
this.lblCurrentDriverName.Name = "lblCurrentDriverName";
this.lblCurrentDriverName.Size = new System.Drawing.Size(178, 36);
this.lblCurrentDriverName.TabIndex = 0;
this.lblCurrentDriverName.Text = "Driver name";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F);
this.label4.Location = new System.Drawing.Point(6, 68);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(105, 27);
this.label4.TabIndex = 1;
this.label4.Text = "Lap time :";
//
// lblCurrentDriverLapTime
//
this.lblCurrentDriverLapTime.AutoSize = true;
this.lblCurrentDriverLapTime.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F);
this.lblCurrentDriverLapTime.Location = new System.Drawing.Point(190, 69);
this.lblCurrentDriverLapTime.Name = "lblCurrentDriverLapTime";
this.lblCurrentDriverLapTime.Size = new System.Drawing.Size(94, 27);
this.lblCurrentDriverLapTime.TabIndex = 2;
this.lblCurrentDriverLapTime.Text = "0:00.000";
//
// pnlCurrentDriverLapsHistory
//
this.pnlCurrentDriverLapsHistory.Location = new System.Drawing.Point(304, 55);
this.pnlCurrentDriverLapsHistory.Name = "pnlCurrentDriverLapsHistory";
this.pnlCurrentDriverLapsHistory.Size = new System.Drawing.Size(300, 186);
this.pnlCurrentDriverLapsHistory.TabIndex = 3;
//
// label6
//
this.label6.AutoSize = true;
this.label6.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F);
this.label6.Location = new System.Drawing.Point(299, 25);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(111, 27);
this.label6.TabIndex = 4;
this.label6.Text = "Last 5 laps";
//
// label5
//
this.label5.AutoSize = true;
this.label5.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F);
this.label5.Location = new System.Drawing.Point(6, 113);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(153, 27);
this.label5.TabIndex = 5;
this.label5.Text = "Gap to leader :";
//
// lblCurrentDriverGapToLeader
//
this.lblCurrentDriverGapToLeader.AutoSize = true;
this.lblCurrentDriverGapToLeader.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F);
this.lblCurrentDriverGapToLeader.Location = new System.Drawing.Point(190, 113);
this.lblCurrentDriverGapToLeader.Name = "lblCurrentDriverGapToLeader";
this.lblCurrentDriverGapToLeader.Size = new System.Drawing.Size(94, 27);
this.lblCurrentDriverGapToLeader.TabIndex = 6;
this.lblCurrentDriverGapToLeader.Text = "0:00.000";
//
// label8
//
this.label8.AutoSize = true;
this.label8.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F);
this.label8.Location = new System.Drawing.Point(6, 157);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(58, 27);
this.label8.TabIndex = 7;
this.label8.Text = "Tyre:";
//
// lblCurrentDriverTyreType
//
this.lblCurrentDriverTyreType.AutoSize = true;
this.lblCurrentDriverTyreType.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F);
this.lblCurrentDriverTyreType.Location = new System.Drawing.Point(65, 157);
this.lblCurrentDriverTyreType.Name = "lblCurrentDriverTyreType";
this.lblCurrentDriverTyreType.Size = new System.Drawing.Size(111, 27);
this.lblCurrentDriverTyreType.TabIndex = 8;
this.lblCurrentDriverTyreType.Text = "Undefined";
//
// lblCurrentDriverTyreAge
//
this.lblCurrentDriverTyreAge.AutoSize = true;
this.lblCurrentDriverTyreAge.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F);
this.lblCurrentDriverTyreAge.Location = new System.Drawing.Point(190, 157);
this.lblCurrentDriverTyreAge.Name = "lblCurrentDriverTyreAge";
this.lblCurrentDriverTyreAge.Size = new System.Drawing.Size(85, 27);
this.lblCurrentDriverTyreAge.TabIndex = 9;
this.lblCurrentDriverTyreAge.Text = "10 Laps";
//
// lblCurrentDriverDRS
//
this.lblCurrentDriverDRS.AutoSize = true;
this.lblCurrentDriverDRS.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F);
this.lblCurrentDriverDRS.Location = new System.Drawing.Point(191, 198);
this.lblCurrentDriverDRS.Name = "lblCurrentDriverDRS";
this.lblCurrentDriverDRS.Size = new System.Drawing.Size(41, 27);
this.lblCurrentDriverDRS.TabIndex = 11;
this.lblCurrentDriverDRS.Text = "No";
//
// label11
//
this.label11.AutoSize = true;
this.label11.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F);
this.label11.Location = new System.Drawing.Point(7, 198);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(52, 27);
this.label11.TabIndex = 10;
this.label11.Text = "DRS";
//
// lblCurrentDriverPosition
//
this.lblCurrentDriverPosition.AutoSize = true;
this.lblCurrentDriverPosition.Font = new System.Drawing.Font("Microsoft YaHei UI", 16.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblCurrentDriverPosition.Location = new System.Drawing.Point(216, 18);
this.lblCurrentDriverPosition.Name = "lblCurrentDriverPosition";
this.lblCurrentDriverPosition.Size = new System.Drawing.Size(43, 36);
this.lblCurrentDriverPosition.TabIndex = 12;
this.lblCurrentDriverPosition.Text = "-1";
//
// tbxResult
//
this.tbxResult.Location = new System.Drawing.Point(17, 12);
this.tbxResult.Multiline = true;
this.tbxResult.Name = "tbxResult";
this.tbxResult.Size = new System.Drawing.Size(307, 442);
this.tbxResult.TabIndex = 0;
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(799, 335);
this.Controls.Add(this.btnResetEmulator);
this.Controls.Add(this.btnStopUpdating);
this.Controls.Add(this.pbxResult);
this.Controls.Add(this.btnStartDecoding);
this.Controls.Add(this.tbxResult);
this.Controls.Add(this.btnSettings);
this.ClientSize = new System.Drawing.Size(1286, 720);
this.Controls.Add(this.gpbxBattles);
this.Controls.Add(this.gpbxLapTimes);
this.Controls.Add(this.gpbxDriverInfos);
this.Controls.Add(this.gpbxOvertakes);
this.Controls.Add(this.gpbxRanking);
this.Controls.Add(this.gpbxControls);
this.Name = "Form1";
this.Text = "Form1";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
this.Load += new System.EventHandler(this.Form1_Load);
((System.ComponentModel.ISupportInitialize)(this.pbxResult)).EndInit();
this.gpbxControls.ResumeLayout(false);
this.gpbxControls.PerformLayout();
this.gpbxRanking.ResumeLayout(false);
this.gpbxOvertakes.ResumeLayout(false);
this.pnlLiveRanking.ResumeLayout(false);
this.pnlLiveRanking.PerformLayout();
this.gpbxDriverInfos.ResumeLayout(false);
this.gpbxDriverInfos.PerformLayout();
this.gpbxLapTimes.ResumeLayout(false);
this.gpbxLapTimes.PerformLayout();
this.gpbxBattles.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Button btnSettings;
private System.Windows.Forms.TextBox tbxResult;
private System.Windows.Forms.Button btnStartDecoding;
private System.Windows.Forms.PictureBox pbxResult;
private System.Windows.Forms.Button btnStopUpdating;
private System.Windows.Forms.Button btnResetEmulator;
private System.Windows.Forms.ListBox listBox1;
private System.Windows.Forms.GroupBox gpbxControls;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.GroupBox gpbxRanking;
private System.Windows.Forms.Panel pnlLiveRanking;
private System.Windows.Forms.GroupBox gpbxOvertakes;
private System.Windows.Forms.Panel pnlOvertakes;
private System.Windows.Forms.GroupBox gpbxDriverInfos;
private System.Windows.Forms.Label lblCurrentDriverPosition;
private System.Windows.Forms.Label lblCurrentDriverDRS;
private System.Windows.Forms.Label label11;
private System.Windows.Forms.Label lblCurrentDriverTyreAge;
private System.Windows.Forms.Label lblCurrentDriverTyreType;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Label lblCurrentDriverGapToLeader;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Panel pnlCurrentDriverLapsHistory;
private System.Windows.Forms.Label lblCurrentDriverLapTime;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label lblCurrentDriverName;
private System.Windows.Forms.GroupBox gpbxLapTimes;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Panel pnlLosingTime;
private System.Windows.Forms.Panel pnlGainingTime;
private System.Windows.Forms.GroupBox gpbxBattles;
private System.Windows.Forms.Panel pnlBattles;
private System.Windows.Forms.TextBox tbxResult;
}
}