Skip to content

Commit 8f194f6

Browse files
authored
Merge pull request #194 from gmono/develop
Try to be compatible
2 parents 687e5b3 + 3ef4a99 commit 8f194f6

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/ReaLTaiizor/Controls/ListBox/ForeverListBox.cs

+11-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
#region Imports
1+
#region Imports
22

33
using ReaLTaiizor.Colors;
44
using ReaLTaiizor.Util;
55
using System;
6+
using System.Linq;
67
using System.ComponentModel;
78
using System.Drawing;
89
using System.Drawing.Drawing2D;
@@ -52,6 +53,15 @@ public string[] Items
5253
}
5354
}
5455

56+
public object[] ListItems
57+
{
58+
get
59+
{
60+
return ListBx.Items.OfType<object>().ToArray();
61+
//return ListBx.Items.Cast<object>().OfType<object>().ToArray();
62+
}
63+
}
64+
5565
public object ListSelectedItem
5666
{
5767
get

0 commit comments

Comments
 (0)