aboutsummaryrefslogtreecommitdiff
path: root/Histacom2.Engine/UI
diff options
context:
space:
mode:
authorAlex-TIMEHACK <[email protected]>2017-11-04 09:43:02 +0000
committerAlex-TIMEHACK <[email protected]>2017-11-04 09:43:02 +0000
commit6ab1468786f1e865e9ff408d32149f9c9620d844 (patch)
tree45bac91aba019027213bdd37bac9f43c0a93853e /Histacom2.Engine/UI
parent2a473d05a34afe51cf0f5340cbdd48ad4e771657 (diff)
downloadhistacom2-6ab1468786f1e865e9ff408d32149f9c9620d844.tar.gz
histacom2-6ab1468786f1e865e9ff408d32149f9c9620d844.tar.bz2
histacom2-6ab1468786f1e865e9ff408d32149f9c9620d844.zip
Fix bugs
...and get rid of all == false and == true
Diffstat (limited to 'Histacom2.Engine/UI')
-rw-r--r--Histacom2.Engine/UI/ClassicDropDown.cs12
-rw-r--r--Histacom2.Engine/UI/ClassicTextbox.cs12
2 files changed, 24 insertions, 0 deletions
diff --git a/Histacom2.Engine/UI/ClassicDropDown.cs b/Histacom2.Engine/UI/ClassicDropDown.cs
index 0b56cb9..93b4a62 100644
--- a/Histacom2.Engine/UI/ClassicDropDown.cs
+++ b/Histacom2.Engine/UI/ClassicDropDown.cs
@@ -17,6 +17,18 @@ namespace Histacom2.Engine.UI
public bool UseSystemPasswordChar { get; set; }
public bool dropDownShown;
+ public override string Text
+ {
+ get
+ {
+ return textBox1.Text;
+ }
+ set
+ {
+ textBox1.Text = value;
+ }
+ }
+
public static Color textboxcolor = Color.Black;
public static Color _lightBack = Color.Silver;
diff --git a/Histacom2.Engine/UI/ClassicTextbox.cs b/Histacom2.Engine/UI/ClassicTextbox.cs
index 8f1f9c3..f89df03 100644
--- a/Histacom2.Engine/UI/ClassicTextbox.cs
+++ b/Histacom2.Engine/UI/ClassicTextbox.cs
@@ -19,6 +19,18 @@ namespace Histacom2.Engine.UI
public static Color _lightBack = Color.Silver;
public static Color _darkBack = Color.Silver;
+ public override string Text
+ {
+ get
+ {
+ return textBox1.Text;
+ }
+ set
+ {
+ textBox1.Text = value;
+ }
+ }
+
public ClassicTextBox()
{
InitializeComponent();