G'dayI'm trying to populate some list boxes from a Class that Implements IListSource. I know that populating a listbox from a BO is easy. I also know that a BO can be populated from an enum. Something like
Private Sub DeviceTypeEnumBO_ParentFormLoading() Handles Me.ParentFormLoading
Dim dt as New Data.DataTable
dt = StrataFrame.Tools.Common.BuildTableFromEnum(GetType(DeviceType))
Me.CopyDataFrom(dt, StrataFrame.Business.BusinessCloneType.ClearAndFillFromCompleteTable)
dt.Dispose()
End Sub
I'm wondering if there is s similar technique for populating a BO from a IListSource Class. I'm sure there is a means of populating the listbox directly through some means, but for consistency I'd like to use a BO in every case if possible.
Any hints would be greatly appreciated
Peter