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.
在 C# 语言中并使用sharpdevelop,我想知道如何创建一个桌面应用程序,仅在请求时加载功能或表单,而不是在软件启动时加载,比如库?
如果您将功能编译到单独的程序集中,它们将在第一次使用之前由运行时加载。
如果你想要更多的控制,你可以使用Assembly.Load和反射来选择你想要在运行时加载的内容。
Assembly.Load