Thread: Panel
View Single Post
  #2 (permalink)  
Old 08-06-2008, 10:01 AM
Erel's Avatar
Erel Erel is offline
Administrator
 
Join Date: Apr 2007
Posts: 3,344
Default

You can create an ArrayList for each panel and add the panels controls to the ArrayList.
Assuming that there are only a couple of panels in your project, you can use something like:
Code:
'for each panel:
if ArrayList.IndexOf(sender) > -1 then ...
Reply With Quote