I'm working on a VB.net 2013 WinForm project. I have a situation where I need this scenario :
I have a limited size area in a form when I need to add or remove button's dynamically on runtime depending on some conditions. When the form is just open , I need only 2 buttons like this :
<>
After depending on conditions , the button;s collection may be transformed like this :
<B1>
after can be :
<B1B2>
After :
<B1>
At some point when the limited area is full , some of the buttons may be invisible and can be visible using the 2 buttons < and > :
<B1B2B3B4> ==> <B2B3B3B4> ==> <B3B4B3B5> ==> <B4B5B3B6>
How can I create this button's collection at runtime and what controls , structure ... should I use ?
Thank you !
Aucun commentaire:
Enregistrer un commentaire