Started Main form customisation

This commit is contained in:
2023-05-25 09:13:12 +02:00
parent 5421b5071b
commit 398466c671
6 changed files with 155 additions and 61 deletions
+112 -39
View File
@@ -1,6 +1,6 @@
namespace Test_Merge
{
partial class Form1
partial class Main
{
/// <summary>
/// Required designer variable.
@@ -35,11 +35,13 @@
this.btnResetEmulator = new System.Windows.Forms.Button();
this.lsbPresets = new System.Windows.Forms.ListBox();
this.gpbxControls = new System.Windows.Forms.GroupBox();
this.label7 = new System.Windows.Forms.Label();
this.textBox1 = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.gpbxRanking = new System.Windows.Forms.GroupBox();
this.pnlLiveRanking = new System.Windows.Forms.Panel();
this.gpbxOvertakes = new System.Windows.Forms.GroupBox();
this.lsbOvertakes = new System.Windows.Forms.ListBox();
this.gpbxDriverInfos = new System.Windows.Forms.GroupBox();
this.lblCurrentDriverPosition = new System.Windows.Forms.Label();
this.lblCurrentDriverDRS = new System.Windows.Forms.Label();
@@ -61,7 +63,7 @@
this.pnlFastest = new System.Windows.Forms.Panel();
this.gpbxBattles = new System.Windows.Forms.GroupBox();
this.pnlBattles = new System.Windows.Forms.Panel();
this.lsbOvertakes = new System.Windows.Forms.ListBox();
this.label9 = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.pbxResult)).BeginInit();
this.gpbxControls.SuspendLayout();
this.gpbxRanking.SuspendLayout();
@@ -73,28 +75,35 @@
//
// btnSettings
//
this.btnSettings.Location = new System.Drawing.Point(6, 21);
this.btnSettings.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.btnSettings.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.btnSettings.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
this.btnSettings.Location = new System.Drawing.Point(9, 21);
this.btnSettings.Name = "btnSettings";
this.btnSettings.Size = new System.Drawing.Size(127, 27);
this.btnSettings.Size = new System.Drawing.Size(127, 46);
this.btnSettings.TabIndex = 0;
this.btnSettings.Text = "Config";
this.btnSettings.UseVisualStyleBackColor = true;
this.btnSettings.UseVisualStyleBackColor = false;
this.btnSettings.Click += new System.EventHandler(this.btnSettings_Click);
//
// btnStartDecoding
//
this.btnStartDecoding.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.btnStartDecoding.Enabled = false;
this.btnStartDecoding.Location = new System.Drawing.Point(6, 54);
this.btnStartDecoding.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.btnStartDecoding.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
this.btnStartDecoding.Location = new System.Drawing.Point(9, 73);
this.btnStartDecoding.Name = "btnStartDecoding";
this.btnStartDecoding.Size = new System.Drawing.Size(127, 27);
this.btnStartDecoding.Size = new System.Drawing.Size(127, 46);
this.btnStartDecoding.TabIndex = 2;
this.btnStartDecoding.Text = "Start";
this.btnStartDecoding.UseVisualStyleBackColor = true;
this.btnStartDecoding.UseVisualStyleBackColor = false;
this.btnStartDecoding.Click += new System.EventHandler(this.btnUpdate_Click);
//
// pbxResult
//
this.pbxResult.Location = new System.Drawing.Point(6, 191);
this.pbxResult.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.pbxResult.Location = new System.Drawing.Point(6, 263);
this.pbxResult.Name = "pbxResult";
this.pbxResult.Size = new System.Drawing.Size(274, 151);
this.pbxResult.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
@@ -103,37 +112,48 @@
//
// btnStopUpdating
//
this.btnStopUpdating.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.btnStopUpdating.Enabled = false;
this.btnStopUpdating.Location = new System.Drawing.Point(153, 54);
this.btnStopUpdating.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.btnStopUpdating.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
this.btnStopUpdating.Location = new System.Drawing.Point(153, 73);
this.btnStopUpdating.Name = "btnStopUpdating";
this.btnStopUpdating.Size = new System.Drawing.Size(128, 27);
this.btnStopUpdating.Size = new System.Drawing.Size(128, 46);
this.btnStopUpdating.TabIndex = 4;
this.btnStopUpdating.Text = "Stop";
this.btnStopUpdating.UseVisualStyleBackColor = true;
this.btnStopUpdating.UseVisualStyleBackColor = false;
this.btnStopUpdating.Click += new System.EventHandler(this.btnStopUpdating_Click);
//
// btnResetEmulator
//
this.btnResetEmulator.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.btnResetEmulator.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.btnResetEmulator.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
this.btnResetEmulator.Location = new System.Drawing.Point(153, 21);
this.btnResetEmulator.Name = "btnResetEmulator";
this.btnResetEmulator.Size = new System.Drawing.Size(128, 27);
this.btnResetEmulator.Size = new System.Drawing.Size(128, 46);
this.btnResetEmulator.TabIndex = 5;
this.btnResetEmulator.Text = "Start driver";
this.btnResetEmulator.UseVisualStyleBackColor = true;
this.btnResetEmulator.Text = "Launch";
this.btnResetEmulator.UseVisualStyleBackColor = false;
this.btnResetEmulator.Click += new System.EventHandler(this.button1_Click);
//
// lsbPresets
//
this.lsbPresets.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.lsbPresets.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.lsbPresets.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(252)))), ((int)(((byte)(252)))));
this.lsbPresets.FormattingEnabled = true;
this.lsbPresets.ItemHeight = 16;
this.lsbPresets.Location = new System.Drawing.Point(6, 133);
this.lsbPresets.Location = new System.Drawing.Point(7, 167);
this.lsbPresets.Name = "lsbPresets";
this.lsbPresets.Size = new System.Drawing.Size(274, 52);
this.lsbPresets.Size = new System.Drawing.Size(274, 64);
this.lsbPresets.TabIndex = 6;
this.lsbPresets.SelectedIndexChanged += new System.EventHandler(this.lsbPresets_SelectedIndexChanged);
//
// gpbxControls
//
this.gpbxControls.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(79)))), ((int)(((byte)(79)))), ((int)(((byte)(79)))));
this.gpbxControls.Controls.Add(this.label7);
this.gpbxControls.Controls.Add(this.textBox1);
this.gpbxControls.Controls.Add(this.btnResetEmulator);
this.gpbxControls.Controls.Add(this.label1);
@@ -142,25 +162,39 @@
this.gpbxControls.Controls.Add(this.btnStartDecoding);
this.gpbxControls.Controls.Add(this.lsbPresets);
this.gpbxControls.Controls.Add(this.btnSettings);
this.gpbxControls.Location = new System.Drawing.Point(987, 360);
this.gpbxControls.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(252)))), ((int)(((byte)(252)))));
this.gpbxControls.Location = new System.Drawing.Point(987, 332);
this.gpbxControls.Name = "gpbxControls";
this.gpbxControls.Size = new System.Drawing.Size(287, 348);
this.gpbxControls.Size = new System.Drawing.Size(287, 420);
this.gpbxControls.TabIndex = 7;
this.gpbxControls.TabStop = false;
this.gpbxControls.Text = "Controls";
this.gpbxControls.Paint += new System.Windows.Forms.PaintEventHandler(this.removeBorders);
//
// label7
//
this.label7.AutoSize = true;
this.label7.Location = new System.Drawing.Point(6, 244);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(55, 16);
this.label7.TabIndex = 9;
this.label7.Text = "Preview";
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(6, 105);
this.textBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.textBox1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(252)))), ((int)(((byte)(252)))));
this.textBox1.Location = new System.Drawing.Point(7, 146);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(274, 22);
this.textBox1.Size = new System.Drawing.Size(274, 15);
this.textBox1.TabIndex = 8;
this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(3, 86);
this.label1.Location = new System.Drawing.Point(4, 127);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(99, 16);
this.label1.TabIndex = 7;
@@ -168,13 +202,16 @@
//
// gpbxRanking
//
this.gpbxRanking.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(79)))), ((int)(((byte)(79)))), ((int)(((byte)(79)))));
this.gpbxRanking.Controls.Add(this.pnlLiveRanking);
this.gpbxRanking.Location = new System.Drawing.Point(12, 12);
this.gpbxRanking.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(252)))), ((int)(((byte)(252)))));
this.gpbxRanking.Location = new System.Drawing.Point(12, 56);
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";
this.gpbxRanking.Paint += new System.Windows.Forms.PaintEventHandler(this.removeBorders);
//
// pnlLiveRanking
//
@@ -185,16 +222,32 @@
//
// gpbxOvertakes
//
this.gpbxOvertakes.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(79)))), ((int)(((byte)(79)))), ((int)(((byte)(79)))));
this.gpbxOvertakes.Controls.Add(this.lsbOvertakes);
this.gpbxOvertakes.Location = new System.Drawing.Point(987, 12);
this.gpbxOvertakes.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(252)))), ((int)(((byte)(252)))));
this.gpbxOvertakes.Location = new System.Drawing.Point(987, 56);
this.gpbxOvertakes.Name = "gpbxOvertakes";
this.gpbxOvertakes.Size = new System.Drawing.Size(287, 342);
this.gpbxOvertakes.Size = new System.Drawing.Size(287, 270);
this.gpbxOvertakes.TabIndex = 9;
this.gpbxOvertakes.TabStop = false;
this.gpbxOvertakes.Text = "Overtakes";
this.gpbxOvertakes.Paint += new System.Windows.Forms.PaintEventHandler(this.removeBorders);
//
// lsbOvertakes
//
this.lsbOvertakes.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.lsbOvertakes.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.lsbOvertakes.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(252)))), ((int)(((byte)(252)))));
this.lsbOvertakes.FormattingEnabled = true;
this.lsbOvertakes.ItemHeight = 16;
this.lsbOvertakes.Location = new System.Drawing.Point(6, 21);
this.lsbOvertakes.Name = "lsbOvertakes";
this.lsbOvertakes.Size = new System.Drawing.Size(274, 240);
this.lsbOvertakes.TabIndex = 0;
//
// gpbxDriverInfos
//
this.gpbxDriverInfos.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(79)))), ((int)(((byte)(79)))), ((int)(((byte)(79)))));
this.gpbxDriverInfos.Controls.Add(this.lblCurrentDriverPosition);
this.gpbxDriverInfos.Controls.Add(this.lblCurrentDriverDRS);
this.gpbxDriverInfos.Controls.Add(this.label11);
@@ -208,12 +261,14 @@
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.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(252)))), ((int)(((byte)(252)))));
this.gpbxDriverInfos.Location = new System.Drawing.Point(371, 505);
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";
this.gpbxDriverInfos.Paint += new System.Windows.Forms.PaintEventHandler(this.removeBorders);
//
// lblCurrentDriverPosition
//
@@ -307,6 +362,7 @@
//
// pnlCurrentDriverLapsHistory
//
this.pnlCurrentDriverLapsHistory.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.pnlCurrentDriverLapsHistory.Location = new System.Drawing.Point(304, 55);
this.pnlCurrentDriverLapsHistory.Name = "pnlCurrentDriverLapsHistory";
this.pnlCurrentDriverLapsHistory.Size = new System.Drawing.Size(300, 186);
@@ -344,16 +400,19 @@
//
// gpbxLapTimes
//
this.gpbxLapTimes.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(79)))), ((int)(((byte)(79)))), ((int)(((byte)(79)))));
this.gpbxLapTimes.Controls.Add(this.label3);
this.gpbxLapTimes.Controls.Add(this.label2);
this.gpbxLapTimes.Controls.Add(this.pnlSlowest);
this.gpbxLapTimes.Controls.Add(this.pnlFastest);
this.gpbxLapTimes.Location = new System.Drawing.Point(371, 12);
this.gpbxLapTimes.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(252)))), ((int)(((byte)(252)))));
this.gpbxLapTimes.Location = new System.Drawing.Point(371, 56);
this.gpbxLapTimes.Name = "gpbxLapTimes";
this.gpbxLapTimes.Size = new System.Drawing.Size(610, 239);
this.gpbxLapTimes.TabIndex = 11;
this.gpbxLapTimes.TabStop = false;
this.gpbxLapTimes.Text = "Last five laps";
this.gpbxLapTimes.Paint += new System.Windows.Forms.PaintEventHandler(this.removeBorders);
//
// label3
//
@@ -375,6 +434,7 @@
//
// pnlSlowest
//
this.pnlSlowest.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.pnlSlowest.Location = new System.Drawing.Point(314, 33);
this.pnlSlowest.Name = "pnlSlowest";
this.pnlSlowest.Size = new System.Drawing.Size(290, 200);
@@ -382,6 +442,7 @@
//
// pnlFastest
//
this.pnlFastest.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.pnlFastest.Location = new System.Drawing.Point(6, 33);
this.pnlFastest.Name = "pnlFastest";
this.pnlFastest.Size = new System.Drawing.Size(290, 200);
@@ -389,43 +450,52 @@
//
// gpbxBattles
//
this.gpbxBattles.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(79)))), ((int)(((byte)(79)))), ((int)(((byte)(79)))));
this.gpbxBattles.Controls.Add(this.pnlBattles);
this.gpbxBattles.Location = new System.Drawing.Point(371, 257);
this.gpbxBattles.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(252)))), ((int)(((byte)(252)))));
this.gpbxBattles.Location = new System.Drawing.Point(371, 301);
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";
this.gpbxBattles.Paint += new System.Windows.Forms.PaintEventHandler(this.removeBorders);
//
// pnlBattles
//
this.pnlBattles.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
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;
//
// lsbOvertakes
// label9
//
this.lsbOvertakes.FormattingEnabled = true;
this.lsbOvertakes.ItemHeight = 16;
this.lsbOvertakes.Location = new System.Drawing.Point(6, 21);
this.lsbOvertakes.Name = "lsbOvertakes";
this.lsbOvertakes.Size = new System.Drawing.Size(274, 308);
this.lsbOvertakes.TabIndex = 0;
this.label9.AutoSize = true;
this.label9.BackColor = System.Drawing.Color.Transparent;
this.label9.Font = new System.Drawing.Font("Microsoft YaHei UI", 19.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(252)))), ((int)(((byte)(252)))));
this.label9.Location = new System.Drawing.Point(12, 8);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(221, 43);
this.label9.TabIndex = 12;
this.label9.Text = "Track Trends";
//
// Form1
// Main
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1286, 720);
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.ClientSize = new System.Drawing.Size(1284, 760);
this.Controls.Add(this.label9);
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.Name = "Main";
this.Text = "Track Trends";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
this.Load += new System.EventHandler(this.Form1_Load);
((System.ComponentModel.ISupportInitialize)(this.pbxResult)).EndInit();
@@ -439,6 +509,7 @@
this.gpbxLapTimes.PerformLayout();
this.gpbxBattles.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
}
@@ -478,6 +549,8 @@
private System.Windows.Forms.GroupBox gpbxBattles;
private System.Windows.Forms.Panel pnlBattles;
private System.Windows.Forms.ListBox lsbOvertakes;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Label label9;
}
}