Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Classes
Message
From
24/04/2006 07:06:03
 
 
To
24/04/2006 04:19:01
Jon Neale
Bond International Software
Wootton Bassett, United Kingdom
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
01115885
Message ID:
01115917
Views:
11
Hi,

Sounds as if you need to expose the contained objects as public properties of their container at all levels.

Regards,
Viv

>I am building a small application in VB.Net and need a little help, maybe more than a little help!
>
>I have created some classes, usercontrols, to hold some functionality. What I need to do is reference their methods and properties within my main form but I cannot seem to manage this.
>
>At the moment I have a TreeView usercontrol that holds a TreeView, within this class I build the list of options. I then have a ControlPanel Class which is another usercontrol with a splitter and then the Treeview within it. The ControlPanel usercontrol is then placed onto the MainWindow form. I have succesfully managed to get everything resizing correctly but now need to start adding some real functionality. What I want is to be able to know which Node has been selected from the treeview from the MainWindow form so that I know what action I need to take next.
>
>What would I need to do to be able to do this?
>
>Can anyone point me to a good resource for handling classes in .net?
>
>I am a complete .Net novice so what I'm trying to do may not be the cleverest way to do things if so please feel free to tell me so.
>
>Regards
>
>Jon
Previous
Reply
Map
View

Click here to load this message in the networking platform