The It manager of my company handed over me a project it was a simple 1 first it was like develop the network map of the company to display the workstations and continuously ping each and every workstation and display tht status weather its down or working ..... I used some static buttons and designed a form didn't do anything dayanamicaly bt later after some time he asked me to make it dynamical I mean the user should be able to add pc's or workstations using this software .... now I am trying every thing to do this software ... I couldn't get a good idea ... pls can any one help me ? no need a lecture just shed some light ... I am now downloading XNA to try using tht previously I tried to create buttons (which will represent workstations ) dayanamically bt no use I cannot name em Button <any name> = new Button(); I cannot change the anyname part so I left it and now I am out of clue pls help !!!
tht means for example Button bt = new Button(); and then some properties... next add to form or a panel... okay Now what I wanna do is i wanna move the dynamically created controls the main thing is wt ever control I create I cannot change the name of tht control for example in the above case its bt can u give a variable for tht location I guess we can't so if I add a button as a work station I cannot move it ... may be C# GDI might help ... if u din get me then just imagine the CCNA packet tracer ... I wanna do a software like tht bt not tht complex
thx shaabir.... I will try this ... bt b4 I try I wanna ask 1 question ... if I insert 40 dynamic buttons can I control, move every button using the name property or I have to control em using the array name like Button[x].Top = 100
Final result and need some more ideas .... this is the final result after but I have some more questions..... can I have scoral bars attached to a panel ? cuz if space runs out then thts the end of the map ..!!!
Need to see if it is doable within the control or not but you can have a scroll bar effect definitely by placing the scrolls and when user clicks move the panel inside a panel up or down.