Hey guys, is there any way to use Panel.LoadLayout to simulate vb style 'user controls' ?
I'd like to make say a textbox and 2 buttons then just load em into a panel over and over for each item in a list. However I have no way that I know of, to access the items I loaded into the panel to code stuff for them. Like say initializing a button to a click event or setting any other properties as I go along... any ideas? right now i'm doing it programmatically but i think layouts would take less time to use.
I'd like to make say a textbox and 2 buttons then just load em into a panel over and over for each item in a list. However I have no way that I know of, to access the items I loaded into the panel to code stuff for them. Like say initializing a button to a click event or setting any other properties as I go along... any ideas? right now i'm doing it programmatically but i think layouts would take less time to use.