aboutsummaryrefslogtreecommitdiff
path: root/Histacom2.Engine/UI/ClassicTextbox.cs
diff options
context:
space:
mode:
authorAlex-TIMEHACK <[email protected]>2017-11-04 08:51:38 +0000
committerAlex-TIMEHACK <[email protected]>2017-11-04 08:51:38 +0000
commit2a473d05a34afe51cf0f5340cbdd48ad4e771657 (patch)
treecb56388b842b65876e237c957b33c71ca31d1836 /Histacom2.Engine/UI/ClassicTextbox.cs
parent81cde79fccd0b46e5af1109968f16f5249b27555 (diff)
downloadhistacom2-2a473d05a34afe51cf0f5340cbdd48ad4e771657.tar.gz
histacom2-2a473d05a34afe51cf0f5340cbdd48ad4e771657.tar.bz2
histacom2-2a473d05a34afe51cf0f5340cbdd48ad4e771657.zip
ClassicDropDown + ClassicTextBox!
Finally! It only took 2 months...
Diffstat (limited to 'Histacom2.Engine/UI/ClassicTextbox.cs')
-rw-r--r--Histacom2.Engine/UI/ClassicTextbox.cs12
1 files changed, 10 insertions, 2 deletions
diff --git a/Histacom2.Engine/UI/ClassicTextbox.cs b/Histacom2.Engine/UI/ClassicTextbox.cs
index a42c2b1..8f1f9c3 100644
--- a/Histacom2.Engine/UI/ClassicTextbox.cs
+++ b/Histacom2.Engine/UI/ClassicTextbox.cs
@@ -32,8 +32,16 @@ namespace Histacom2.Engine.UI
// Update a bunch of variables!
textBox1.Font = new Font("Microsoft Sans Serif", 8.25F, FontStyle.Regular);
- if (SaveSystem.currentTheme != null) textBox1.BackColor = SaveSystem.currentTheme.threeDObjectsColor;
- else textBox1.BackColor = Color.White;
+ if (SaveSystem.currentTheme != null)
+ {
+ textBox1.BackColor = SaveSystem.currentTheme.threeDObjectsColor;
+ BackColor = SaveSystem.currentTheme.threeDObjectsColor;
+ }
+ else
+ {
+ textBox1.BackColor = Color.White;
+ BackColor = Color.White;
+ }
if (SaveSystem.currentTheme != null)
{