diff options
| author | Alex-TIMEHACK <[email protected]> | 2017-11-04 17:48:05 +0000 |
|---|---|---|
| committer | Alex-TIMEHACK <[email protected]> | 2017-11-04 17:48:05 +0000 |
| commit | cc07981aa3603c74507c9ea0acb6dd0d8418d58e (patch) | |
| tree | 3a912bad67da226cc0f27e35f8bbd0f568d2f9fe /Histacom2.Engine/UI | |
| parent | 4af08fc6e341a45158e23beb13be10aa1a6a3590 (diff) | |
| download | histacom2-cc07981aa3603c74507c9ea0acb6dd0d8418d58e.tar.gz histacom2-cc07981aa3603c74507c9ea0acb6dd0d8418d58e.tar.bz2 histacom2-cc07981aa3603c74507c9ea0acb6dd0d8418d58e.zip | |
Address Book can now save data!
Diffstat (limited to 'Histacom2.Engine/UI')
| -rw-r--r-- | Histacom2.Engine/UI/ClassicDropDown.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Histacom2.Engine/UI/ClassicDropDown.cs b/Histacom2.Engine/UI/ClassicDropDown.cs index 93b4a62..edf2268 100644 --- a/Histacom2.Engine/UI/ClassicDropDown.cs +++ b/Histacom2.Engine/UI/ClassicDropDown.cs @@ -34,7 +34,7 @@ namespace Histacom2.Engine.UI public static Color _lightBack = Color.Silver; public static Color _darkBack = Color.Silver; - public List<string> items = new List<string> { "TestItem" }; + public List<string> Items { get; set; } = new List<string>(); public ClassicDropDown() { @@ -117,7 +117,7 @@ namespace Histacom2.Engine.UI } else { thisOverlay = new DropDownOverlay(); int applyHeight = 0; - foreach (string str in items) + foreach (string str in Items) { DropDownItem itm = new DropDownItem(); itm.ChangeText(str, Font); |
