Control Array and Other Issues
Hi mates,
Hope you are alright,
I've got a few questions, related to vb .net
I've managed while running the program to create buttons, panels, textboxts, and adjust their properties such as colour, height, ..... etc
but the question is, if i want to give some actions to the new buttons like click on it, or mouse hovering , or mouse leave,
how can i do that, saying everytime i clicked on that new buttons, i run the same function, which for example display another form
p.s. i want the same job for each new button,
can we use, four , and three dimensions arrays........
Another problem:
================
i am trying to build a hierarchy network using vb .net
so i've got data on level zero, subdata on level one, subsub data on level two.....
i am trying to start by first node or label at the top or level zero,,,,
then create new buttons or layers at level one,,,,,,,,
saying we create the whole hierarchy,
when runing the program next time, i loose all info... and i have to enter the data all over again...
what's the best way to do things, shall i store how data are linked into a database or several arrays,,,,
or sall i replay new buttons, whihc represents nodes in levels, with labelsss.
thanks very much for your help