Searching for a windows form repeater-like method
-
I've been tasked with writing a windows application. On the asp.net side we can use repeaters to create user controls but I haven't found the equivalent for windows forms. I'm trying to create a group of comboboxes from an array of items. Do I need to make collection of them? And how do I position them on the form? All I see is the absolute X Y coordinates, but what if you have 10 or 20 of these items? Thanks
-
I've been tasked with writing a windows application. On the asp.net side we can use repeaters to create user controls but I haven't found the equivalent for windows forms. I'm trying to create a group of comboboxes from an array of items. Do I need to make collection of them? And how do I position them on the form? All I see is the absolute X Y coordinates, but what if you have 10 or 20 of these items? Thanks
u will have to draw them dynamically through frm.controls.add(controlname) if you want exactly similar to web, use WPF instead of ordinary Windows applications.
Abhishek Sur