Hi,
So I’m using quite some custom controls which are placed in FlowLayoutPanels. When doing this at runtime you need use three lines of code:
Wouldn’t it make more sense to (optionally) pass 2 and 3 in method 1?
Thanks for considering.
Vincent
Thanks, I knew I could do that but that seems more work. If someone uses the .add() they are going to want to set those properties too in most cases.
Anyway, thanks and I will keep it as is 🙂
Hi Vincent,
For the custom logic you want to add, just make an inheritance of the FlowLayoutPanels class and add your new methods or properties.
Good coding,
Kevin (ITG)
Please login first to submit.