Click here to Skip to main content
15,891,607 members
Home / Discussions / C#
   

C#

 
QuestionClient /Server Programming Pin
Jijo BP22-Mar-06 4:09
Jijo BP22-Mar-06 4:09 
AnswerRe: Client /Server Programming Pin
Divyang Mithaiwala22-Mar-06 4:20
Divyang Mithaiwala22-Mar-06 4:20 
AnswerRe: Client /Server Programming Pin
mcljava22-Mar-06 4:35
mcljava22-Mar-06 4:35 
AnswerRe: Client /Server Programming Pin
snouto22-Mar-06 10:33
snouto22-Mar-06 10:33 
QuestionCustomizing treeview Pin
Sabry190522-Mar-06 4:02
Sabry190522-Mar-06 4:02 
AnswerRe: Customizing treeview Pin
DaBears22-Mar-06 5:52
DaBears22-Mar-06 5:52 
GeneralRe: Customizing treeview Pin
Sabry190522-Mar-06 6:54
Sabry190522-Mar-06 6:54 
GeneralRe: Customizing treeview Pin
DaBears23-Mar-06 11:43
DaBears23-Mar-06 11:43 
That works for me. Exactly how does it not work? Remember you will have to cast the object out of the Tag, likes this:

Panel panel2;

treeView1.Nodes[0].Tag = panel1;
panel2 = (Panel)treeView1.Nodes[0].Tag;


panel2 doesn't have to be a control you dragged onto the form, it could be an object of type Panel. If you are using the panel object as a way to get at a collection of controls, then you have to read the Tag data into another panel object, then get to the controls through the new panel object (as in the example above).

Mike
QuestionA Real Challenge Pin
anurajju22-Mar-06 3:38
anurajju22-Mar-06 3:38 
AnswerRe: A Real Challenge Pin
mav.northwind22-Mar-06 3:52
mav.northwind22-Mar-06 3:52 
AnswerRe: A Real Challenge Pin
Wjousts22-Mar-06 3:57
Wjousts22-Mar-06 3:57 
GeneralRe: A Real Challenge Pin
anurajju22-Mar-06 16:51
anurajju22-Mar-06 16:51 
GeneralRe: A Real Challenge Pin
Guffa22-Mar-06 4:30
Guffa22-Mar-06 4:30 
Questioncsgl Pin
Allealle22-Mar-06 3:31
Allealle22-Mar-06 3:31 
QuestionSystem Restore in windows XP using c# Pin
Jijo BP22-Mar-06 3:12
Jijo BP22-Mar-06 3:12 
QuestionHow to autohide cursor after some time Pin
DarthVelorien22-Mar-06 2:54
DarthVelorien22-Mar-06 2:54 
QuestionWhat's font fastest when draw? Pin
pmasknguyen22-Mar-06 2:33
pmasknguyen22-Mar-06 2:33 
AnswerRe: What's font fastest when draw? Pin
Ed.Poore22-Mar-06 6:38
Ed.Poore22-Mar-06 6:38 
Questionuser: esjq question Pin
Rmokkenstorm22-Mar-06 1:08
Rmokkenstorm22-Mar-06 1:08 
AnswerRe: esjq Pin
J4amieC22-Mar-06 1:50
J4amieC22-Mar-06 1:50 
QuestionSending the active window to the printer Pin
Chals22-Mar-06 0:39
Chals22-Mar-06 0:39 
AnswerRe: Sending the active window to the printer Pin
sreejith ss nair22-Mar-06 2:26
sreejith ss nair22-Mar-06 2:26 
QuestionP/Invoke: Working with LDAP. Can't get all attributes. (Wldap32.dll) Pin
subAdm21-Mar-06 23:19
subAdm21-Mar-06 23:19 
QuestionSerialport Communication Pin
ASGuru21-Mar-06 23:02
ASGuru21-Mar-06 23:02 
QuestionAccessing Variables / Functions Pin
FireDK21-Mar-06 22:36
FireDK21-Mar-06 22:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.