fixed a little issue with the 98 welcome page

This commit is contained in:
lempamo 2017-11-15 19:33:54 -05:00
parent 6a100bc879
commit e8795f99a5
3 changed files with 5 additions and 1 deletions

View file

@ -144,6 +144,7 @@ private void InitializeComponent()
// Title
//
this.Title.AutoSize = true;
this.Title.BackColor = System.Drawing.Color.Transparent;
this.Title.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.Title.ForeColor = System.Drawing.Color.White;
this.Title.Location = new System.Drawing.Point(18, 1);

View file

@ -95,8 +95,10 @@ public Default98Theme()
windowColor = Color.White;
activeTitleBarColor = Color.Navy;
activeTitleBarColor2 = Color.FromArgb(16, 132, 208);
activeTitleTextColor = Color.White;
inactiveTitleBarColor = Color.Gray;
inactiveTitleBarColor2 = Color.FromArgb(181, 181, 181);
inactiveTitleTextColor = Color.Silver;
selectedBackColor = Color.Navy;

View file

@ -52,8 +52,9 @@ private void InitializeComponent()
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackgroundImage = global::Histacom2.Properties.Resources.Win98Welcome;
this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
this.Controls.Add(this.classicButton1);
this.DoubleBuffered = true;
this.Name = "Win98Welcome";
this.Size = new System.Drawing.Size(477, 322);
this.ResumeLayout(false);