我有一个带有标签的 Windows 窗体。我想根据目录中的程序集在运行时设置标签值。我不确定哪个代码在哪里:
UI Form has a label.
2 class libraries that implement an interface.
Should I have another class that does the MEF composition work and do I need to call that in the constructor of the UI Form.
如果我需要在表单构造函数中调用它并且我有很多表单,这是否意味着我必须以非常形式调用它。