diff options
| author | Alex-TIMEHACK <[email protected]> | 2017-10-24 13:50:38 +0100 |
|---|---|---|
| committer | Alex-TIMEHACK <[email protected]> | 2017-10-24 13:50:38 +0100 |
| commit | 72a2b98a29ac1d3b67a4158b6a1823a39ecb5e00 (patch) | |
| tree | 8a39e99f1542fc0335a4553231fea5acdb9beb70 /Histacom2.Engine/UI/ClassicTextbox.cs | |
| parent | 3d2e297b43cbd7f99269c9a58b25651a83ccef3c (diff) | |
| download | histacom2-72a2b98a29ac1d3b67a4158b6a1823a39ecb5e00.tar.gz histacom2-72a2b98a29ac1d3b67a4158b6a1823a39ecb5e00.tar.bz2 histacom2-72a2b98a29ac1d3b67a4158b6a1823a39ecb5e00.zip | |
Finished ClassicTextBox
ClassicDropDown next!
Diffstat (limited to 'Histacom2.Engine/UI/ClassicTextbox.cs')
| -rw-r--r-- | Histacom2.Engine/UI/ClassicTextbox.cs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Histacom2.Engine/UI/ClassicTextbox.cs b/Histacom2.Engine/UI/ClassicTextbox.cs index 8c1d8d8..a42c2b1 100644 --- a/Histacom2.Engine/UI/ClassicTextbox.cs +++ b/Histacom2.Engine/UI/ClassicTextbox.cs @@ -30,11 +30,10 @@ namespace Histacom2.Engine.UI this.Paint += new PaintEventHandler((object sender, PaintEventArgs e) => { // Update a bunch of variables! - if (SaveSystem.currentTheme != null) textBox1.Font = SaveSystem.currentTheme.buttonFont; - else textBox1.Font = new Font("Microsoft Sans Serif", 8.25F, FontStyle.Regular); + textBox1.Font = new Font("Microsoft Sans Serif", 8.25F, FontStyle.Regular); - if (SaveSystem.currentTheme != null) BackColor = SaveSystem.currentTheme.threeDObjectsColor; - else BackColor = Color.White; + if (SaveSystem.currentTheme != null) textBox1.BackColor = SaveSystem.currentTheme.threeDObjectsColor; + else textBox1.BackColor = Color.White; if (SaveSystem.currentTheme != null) { |
