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.
是否有任何工具或插件可以在 Visual Studio 中独立于表单(Windows,而不是 Web 表单)设计面板?
我一直在使用设计器并从源代码中手动提取我想要的位,但肯定有更好的方法。
您可以手动编写代码!
您可以在 UserControl 内完成所有设计工作。
如果你走这条路,而不是仅仅从用户控件中复制位,只需使用用户控件本身。
正如 Chris Karcher 所说,您可能应该使用用户控件。这将允许简单的、VS 支持/集成的重用,而无需手动修改设计器代码。