本文介绍了如何在Windows窗体中动态调用用户控件。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在Windows窗体中动态调用用户控件。请帮助我。
解决方案就像任何其他控件一样: MyUserControl muc = new MyUserControl(); Controls.Add(muc);
什么给你带来困难?
看看: www.akadia/services/dotnet_user_controls.html [ ^ ] msdn.microsoft/en-us/library/aa302342.aspx [ ^ ] 希望这可以帮到你
how can i dynamically call user control in windows form.Kindly help me.
解决方案 Just like any other control: MyUserControl muc = new MyUserControl(); Controls.Add(muc);What is giving you difficulty?
have a look at : www.akadia/services/dotnet_user_controls.html[^] msdn.microsoft/en-us/library/aa302342.aspx[^] hope this helps you.更多推荐
如何在Windows窗体中动态调用用户控件。
发布评论