Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how can i dynamically call user control in windows form.Kindly help me.
Posted
Comments
Dave Kreskowiak 18-May-15 8:55am    
What do you mean by "dynamically"?? You don't call a control. You call the methods and properties on it.

Just like any other control:
C#
MyUserControl muc = new MyUserControl();
Controls.Add(muc);

What is giving you difficulty?
 
Share this answer
 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900