Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在我的应用程序中使用 CAL 框架,我需要在其他地方重新使用我的复合 UserControl,即为下一个区域创建该用户控件的新实例,并根据界面上下文。
当我尝试这样做时,我得到一个例外,它的孩子已经注册。
在这方面的任何示例代码将不胜感激。
有一个小故障。CAL 不能灵活地重用复合用户控件。我必须最终创建一个基本 UI,然后从中派生出两个不同的复合用户控件类。