Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using Classes
Message
De
24/04/2006 07:06:03
 
 
À
24/04/2006 04:19:01
Jon Neale
Bond International Software
Wootton Bassett, Royaume Uni
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
01115885
Message ID:
01115917
Vues:
13
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform