si_owen schrieb:
i am used to vb6 nad now im using .net framework all the simple lines
of code have vanisehed!!!
for example in vb6 to move from one form to another the following code,
behind a command button, was magic:
form1.show
form2.hide
now how the hell do u recreate that kind of simple command button
navigation in .net????
any ideas, i have looked at breadcrumbs and tree style menus but not
what i want.
The attribute is called ' visible ' - I think the usage is obvious ;-)
But what do you want to do? I wizard-like application where you have a
'next' and 'previous' button? In this case I would recommend Groupboxes
for each "page" instead of forms. When clicking on the buttons, you can
then just change the visibility of the boxes. (You could do this with
forms too, but then you would always have lots of forms in background;
and it will be slower when clicking on next, because the whole new form
must be loaded)
By the way: Show won't work - This will load the form