Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
3
Reply
adding controls to panel dinamically
vasu babu
Jun 7 2010 2:38 AM
3.6k
Reply
Hi,
I have a flowlayout panel containing 3objects(containing checkbox and textbox) while form loading. I have a button ADD, when ever user clicks add he gets input box and enter some number. i have to add that number of objects to flowlayout along with old 3objects.
for (int i = 0; i < iParseCount; i++)
{
UserPattern oUserPattern = new UserPattern("userDefParser" + (i+1));
pnlUserPattern.Controls.Add(oUserPattern);
}
here pnlUserPattern is the flowlayout panel.
problem is only intial 3 objects are showing.
Any help please..........
thanks in advance.
Vasu.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
problem in mail format
How to set ImageLayer on Image