I am creating a simple usercontrol which has 5 buttons in it. I am developing this just to learn how to create a usercontrol. I am 5 button during runtime to a list and simultaneously to the usercontrol. I am adding it to the list so that i can edit those buttons using property grid. the code is as follows
private List
1 Reply
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
I think you will need to provide more information. Perhaps it will help if you describe how you created the application, or at least how to create one that duplicates the problem. At least provide more about how the user control was created. I assume there are two files for it; the designer.cs file and the file that you modify. In which one is the code that you provided? I assume not the designer.cs file but it will help if you were to state that explicitly.
Sam HobbsPosted Oct 6, 2011, 4:16 PM