I'm very new to MEF and I just want to know on how to override calling Windows Form.
Before we have a custom defined plugin framework to deal with this but I want to consider using MEF on this but can someone help me to do this?
The concept is that, example I have a form named Form1 with 2 buttons named Button1 and Button2 respectively.
Now, when we have a client specific request to be done on Form1, what we will do is to create a separate project, inherit the Form1 class and do the UI Changes (probably adding some controls to it) and if some methods were marked as virtual, we override
it with the client specific codes.
We have a sort of mapping table that when we call the Form1, instead of calling the base Form1 form, it should call the other customized Form1.
My question would be is that, is this possible with MEF? Or Is there any better approach to this one?
Your help will be highly appreciated.