diff --git a/Bin/net40/SunnyUI.dll b/Bin/net40/SunnyUI.dll index 267af172..00644a1e 100644 Binary files a/Bin/net40/SunnyUI.dll and b/Bin/net40/SunnyUI.dll differ diff --git a/Bin/net45/SunnyUI.dll b/Bin/net45/SunnyUI.dll index c2400a87..e1da1d78 100644 Binary files a/Bin/net45/SunnyUI.dll and b/Bin/net45/SunnyUI.dll differ diff --git a/Bin/net5.0-windows/SunnyUI.dll b/Bin/net5.0-windows/SunnyUI.dll index 95b15c2c..aa243cee 100644 Binary files a/Bin/net5.0-windows/SunnyUI.dll and b/Bin/net5.0-windows/SunnyUI.dll differ diff --git a/Bin/net5.0-windows/ref/SunnyUI.dll b/Bin/net5.0-windows/ref/SunnyUI.dll index 0c16a566..bc602869 100644 Binary files a/Bin/net5.0-windows/ref/SunnyUI.dll and b/Bin/net5.0-windows/ref/SunnyUI.dll differ diff --git a/Bin/netcoreapp3.1/SunnyUI.dll b/Bin/netcoreapp3.1/SunnyUI.dll index 77ae6cd0..b97a04c5 100644 Binary files a/Bin/netcoreapp3.1/SunnyUI.dll and b/Bin/netcoreapp3.1/SunnyUI.dll differ diff --git a/SunnyUI/Controls/UIComboBox.cs b/SunnyUI/Controls/UIComboBox.cs index de5a48f1..397a0791 100644 --- a/SunnyUI/Controls/UIComboBox.cs +++ b/SunnyUI/Controls/UIComboBox.cs @@ -49,16 +49,33 @@ namespace Sunny.UI fullControlSelect = true; } + [DefaultValue(false)] + public bool Sorted + { + get => ListBox.Sorted; + set => ListBox.Sorted = value; + } + public int FindString(string s) { return ListBox.FindString(s); } + public int FindString(string s, int startIndex) + { + return ListBox.FindString(s, startIndex); + } + public int FindStringExact(string s) { return ListBox.FindStringExact(s); } + public int FindStringExact(string s, int startIndex) + { + return ListBox.FindStringExact(s, startIndex); + } + private void ListBox_ItemsRemove(object sender, EventArgs e) { if (ListBox.Count == 0)