The second option of woooee is almost suitable, but it would be very difficult to access the information I want in those linked lists. Is it possible to link *only* the first one or two values from a linked list?
The problem with
is that the values I want get more and more deeply nested, and since each list member is storing the entirety of the other members (including their neighbour lists), the list gets too large. I would like to write something like this that stores only the value I want (i.e. AllAtoms), but produces the output below:
For Each ctrl As Control In Me.Controls("pnlMainPanel").Controls
If ctrl.GetType Is GetType(System.Windows.Forms.Panel) Then
For Each subCtrl As Control In ctrl.Controls
If subCtrl.GetType Is GetType(System.Windows.Forms.TextBox) Then
If subCtrl.GetType Is ...