I tried using the ListBox.SelectedObjectCollection object but I must be missing something.
- Code: Select all
System.Windows.Forms.ListBox.SelectedObjectCollection colTables;
colTables = this.lboxTables.SelectedObjectCollection;
this.zeusInput[\"tables\"] = colTables;
This is the error message:
'SelectedObjectCollection': cannot reference a type through an expression; try 'System.Windows.Forms.ListBox.SelectedObjectCollection' instead
How can I make this work?
Thanks in advance.
