Fixed ProgrammInfo hidding close button

This commit is contained in:
miku-666
2022-09-20 13:50:03 +02:00
parent 6dcdda2d4b
commit 9d235b39ea

View File

@@ -28,115 +28,123 @@
/// </summary>
private void InitializeComponent()
{
this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.metroLabel1 = new MetroFramework.Controls.MetroLabel();
this.metroLabel2 = new MetroFramework.Controls.MetroLabel();
this.metroLabel3 = new MetroFramework.Controls.MetroLabel();
this.metroLabel4 = new MetroFramework.Controls.MetroLabel();
this.metroLabel5 = new MetroFramework.Controls.MetroLabel();
this.metroLabel6 = new MetroFramework.Controls.MetroLabel();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
// pictureBox1
//
this.pictureBox1.Image = global::PckStudio.Properties.Resources.Splash;
this.pictureBox1.Location = new System.Drawing.Point(4, 5);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(575, 293);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pictureBox1.TabIndex = 0;
this.pictureBox1.TabStop = false;
this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click);
this.pictureBox1.DoubleClick += new System.EventHandler(this.pictureBox1_Click);
//
// metroLabel1
//
this.metroLabel1.AutoSize = true;
this.metroLabel1.Location = new System.Drawing.Point(4, 301);
this.metroLabel1.Name = "metroLabel1";
this.metroLabel1.Size = new System.Drawing.Size(250, 19);
this.metroLabel1.TabIndex = 1;
this.metroLabel1.Text = "Restored and maintained by PhoenixARC";
this.metroLabel1.Theme = MetroFramework.MetroThemeStyle.Dark;
//
// metroLabel2
//
this.metroLabel2.AutoSize = true;
this.metroLabel2.Location = new System.Drawing.Point(314, 301);
this.metroLabel2.Name = "metroLabel2";
this.metroLabel2.Size = new System.Drawing.Size(269, 19);
this.metroLabel2.TabIndex = 2;
this.metroLabel2.Text = "Utilizing the Nobledez Website by Newagent";
this.metroLabel2.Theme = MetroFramework.MetroThemeStyle.Dark;
//
// metroLabel3
//
this.metroLabel3.AutoSize = true;
this.metroLabel3.Location = new System.Drawing.Point(314, 339);
this.metroLabel3.Name = "metroLabel3";
this.metroLabel3.Size = new System.Drawing.Size(212, 19);
this.metroLabel3.TabIndex = 3;
this.metroLabel3.Text = "3D skin renderer by Łukasz Rejman";
this.metroLabel3.Theme = MetroFramework.MetroThemeStyle.Dark;
//
// metroLabel4
//
this.metroLabel4.AutoSize = true;
this.metroLabel4.Location = new System.Drawing.Point(314, 320);
this.metroLabel4.Name = "metroLabel4";
this.metroLabel4.Size = new System.Drawing.Size(199, 19);
this.metroLabel4.TabIndex = 4;
this.metroLabel4.Text = "3D renderer found by Newagent";
this.metroLabel4.Theme = MetroFramework.MetroThemeStyle.Dark;
//
// metroLabel5
//
this.metroLabel5.AutoSize = true;
this.metroLabel5.Location = new System.Drawing.Point(4, 320);
this.metroLabel5.Name = "metroLabel5";
this.metroLabel5.Size = new System.Drawing.Size(300, 19);
this.metroLabel5.TabIndex = 5;
this.metroLabel5.Text = "Additional development by MattNL and Miku-666";
this.metroLabel5.Theme = MetroFramework.MetroThemeStyle.Dark;
//
// metroLabel6
//
this.metroLabel6.AutoSize = true;
this.metroLabel6.Location = new System.Drawing.Point(4, 339);
this.metroLabel6.Name = "metroLabel6";
this.metroLabel6.Size = new System.Drawing.Size(203, 19);
this.metroLabel6.TabIndex = 6;
this.metroLabel6.Text = "Code base overhaul by Miku-666";
this.metroLabel6.Theme = MetroFramework.MetroThemeStyle.Dark;
//
// programInfo
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BorderStyle = MetroFramework.Forms.MetroFormBorderStyle.FixedSingle;
this.ClientSize = new System.Drawing.Size(585, 364);
this.Controls.Add(this.metroLabel6);
this.Controls.Add(this.metroLabel1);
this.Controls.Add(this.metroLabel5);
this.Controls.Add(this.metroLabel4);
this.Controls.Add(this.metroLabel3);
this.Controls.Add(this.metroLabel2);
this.Controls.Add(this.pictureBox1);
this.DisplayHeader = false;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "programInfo";
this.Padding = new System.Windows.Forms.Padding(20, 30, 20, 20);
this.Resizable = false;
this.ShadowType = MetroFramework.Forms.MetroFormShadowType.DropShadow;
this.Style = MetroFramework.MetroColorStyle.Silver;
this.Text = "programInfo";
this.Theme = MetroFramework.MetroThemeStyle.Dark;
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.metroLabel1 = new MetroFramework.Controls.MetroLabel();
this.metroLabel2 = new MetroFramework.Controls.MetroLabel();
this.metroLabel3 = new MetroFramework.Controls.MetroLabel();
this.metroLabel4 = new MetroFramework.Controls.MetroLabel();
this.metroLabel5 = new MetroFramework.Controls.MetroLabel();
this.metroLabel6 = new MetroFramework.Controls.MetroLabel();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
// pictureBox1
//
this.pictureBox1.BackColor = System.Drawing.Color.Transparent;
this.pictureBox1.Enabled = false;
this.pictureBox1.Image = global::PckStudio.Properties.Resources.Splash;
this.pictureBox1.Location = new System.Drawing.Point(4, 5);
this.pictureBox1.Margin = new System.Windows.Forms.Padding(0, 0, 11, 0);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(550, 293);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pictureBox1.TabIndex = 0;
this.pictureBox1.TabStop = false;
this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click);
this.pictureBox1.DoubleClick += new System.EventHandler(this.pictureBox1_Click);
//
// metroLabel1
//
this.metroLabel1.AutoSize = true;
this.metroLabel1.Enabled = false;
this.metroLabel1.Location = new System.Drawing.Point(4, 301);
this.metroLabel1.Name = "metroLabel1";
this.metroLabel1.Size = new System.Drawing.Size(250, 19);
this.metroLabel1.TabIndex = 1;
this.metroLabel1.Text = "Restored and maintained by PhoenixARC";
this.metroLabel1.Theme = MetroFramework.MetroThemeStyle.Dark;
//
// metroLabel2
//
this.metroLabel2.AutoSize = true;
this.metroLabel2.Enabled = false;
this.metroLabel2.Location = new System.Drawing.Point(314, 301);
this.metroLabel2.Name = "metroLabel2";
this.metroLabel2.Size = new System.Drawing.Size(269, 19);
this.metroLabel2.TabIndex = 2;
this.metroLabel2.Text = "Utilizing the Nobledez Website by Newagent";
this.metroLabel2.Theme = MetroFramework.MetroThemeStyle.Dark;
//
// metroLabel3
//
this.metroLabel3.AutoSize = true;
this.metroLabel3.Enabled = false;
this.metroLabel3.Location = new System.Drawing.Point(314, 339);
this.metroLabel3.Name = "metroLabel3";
this.metroLabel3.Size = new System.Drawing.Size(212, 19);
this.metroLabel3.TabIndex = 3;
this.metroLabel3.Text = "3D skin renderer by Łukasz Rejman";
this.metroLabel3.Theme = MetroFramework.MetroThemeStyle.Dark;
//
// metroLabel4
//
this.metroLabel4.AutoSize = true;
this.metroLabel4.Enabled = false;
this.metroLabel4.Location = new System.Drawing.Point(314, 320);
this.metroLabel4.Name = "metroLabel4";
this.metroLabel4.Size = new System.Drawing.Size(199, 19);
this.metroLabel4.TabIndex = 4;
this.metroLabel4.Text = "3D renderer found by Newagent";
this.metroLabel4.Theme = MetroFramework.MetroThemeStyle.Dark;
//
// metroLabel5
//
this.metroLabel5.AutoSize = true;
this.metroLabel5.Enabled = false;
this.metroLabel5.Location = new System.Drawing.Point(4, 320);
this.metroLabel5.Name = "metroLabel5";
this.metroLabel5.Size = new System.Drawing.Size(300, 19);
this.metroLabel5.TabIndex = 5;
this.metroLabel5.Text = "Additional development by MattNL and Miku-666";
this.metroLabel5.Theme = MetroFramework.MetroThemeStyle.Dark;
//
// metroLabel6
//
this.metroLabel6.AutoSize = true;
this.metroLabel6.Enabled = false;
this.metroLabel6.Location = new System.Drawing.Point(4, 339);
this.metroLabel6.Name = "metroLabel6";
this.metroLabel6.Size = new System.Drawing.Size(203, 19);
this.metroLabel6.TabIndex = 6;
this.metroLabel6.Text = "Code base overhaul by Miku-666";
this.metroLabel6.Theme = MetroFramework.MetroThemeStyle.Dark;
//
// programInfo
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(585, 364);
this.Controls.Add(this.metroLabel6);
this.Controls.Add(this.metroLabel1);
this.Controls.Add(this.metroLabel5);
this.Controls.Add(this.metroLabel4);
this.Controls.Add(this.metroLabel3);
this.Controls.Add(this.metroLabel2);
this.Controls.Add(this.pictureBox1);
this.DisplayHeader = false;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "programInfo";
this.Padding = new System.Windows.Forms.Padding(20, 30, 20, 20);
this.Resizable = false;
this.ShadowType = MetroFramework.Forms.MetroFormShadowType.DropShadow;
this.Style = MetroFramework.MetroColorStyle.Black;
this.Text = "programInfo";
this.Theme = MetroFramework.MetroThemeStyle.Dark;
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}