Send Message in C#

后端 未结 6 1303
野趣味
野趣味 2020-11-28 10:53

I\'m creating an application that uses a main project that is connected to several different DLLs. From one DLL window I need to be able to open a window in another but the

6条回答
  •  臣服心动
    2020-11-28 11:22

    Some other options:

    Common Assembly

    Create another assembly that has some common interfaces that can be implemented by the assemblies.

    Reflection

    This has all sorts of warnings and drawbacks, but you could use reflection to instantiate / communicate with the forms. This is both slow and runtime dynamic (no static checking of this code at compile time).

提交回复
热议问题