aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-11-15 19:33:54 -0500
committerlempamo <[email protected]>2017-11-15 19:33:54 -0500
commite8795f99a571ea37b4ce4ad285f4eb0765c05afa (patch)
treee5cafc819473b9623170e99856edaa4ca77056ee
parent6a100bc8794d0e7313868a4b7082d9475117617c (diff)
downloadhistacom2-e8795f99a571ea37b4ce4ad285f4eb0765c05afa.tar.gz
histacom2-e8795f99a571ea37b4ce4ad285f4eb0765c05afa.tar.bz2
histacom2-e8795f99a571ea37b4ce4ad285f4eb0765c05afa.zip
fixed a little issue with the 98 welcome page
-rw-r--r--Histacom2.Engine/Template/WinClassic.Designer.cs1
-rw-r--r--Histacom2.Engine/Theme.cs2
-rw-r--r--Histacom2/OS/Win98/Win98Apps/Win98Welcome.Designer.cs3
3 files changed, 5 insertions, 1 deletions
diff --git a/Histacom2.Engine/Template/WinClassic.Designer.cs b/Histacom2.Engine/Template/WinClassic.Designer.cs
index 3c03f87..2e66b5d 100644
--- a/Histacom2.Engine/Template/WinClassic.Designer.cs
+++ b/Histacom2.Engine/Template/WinClassic.Designer.cs
@@ -144,6 +144,7 @@
// 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);
diff --git a/Histacom2.Engine/Theme.cs b/Histacom2.Engine/Theme.cs
index d4b56c1..1ed4f02 100644
--- a/Histacom2.Engine/Theme.cs
+++ b/Histacom2.Engine/Theme.cs
@@ -95,8 +95,10 @@ namespace Histacom2.Engine
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;
diff --git a/Histacom2/OS/Win98/Win98Apps/Win98Welcome.Designer.cs b/Histacom2/OS/Win98/Win98Apps/Win98Welcome.Designer.cs
index 00eb923..f7cf117 100644
--- a/Histacom2/OS/Win98/Win98Apps/Win98Welcome.Designer.cs
+++ b/Histacom2/OS/Win98/Win98Apps/Win98Welcome.Designer.cs
@@ -52,8 +52,9 @@
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);