C # Winform Modular Application

I am using C # .NET 2010

I am working on a POS project for 20 outlets, and it is already installed and used at each point. One fine day, in the form of a change in the "Payment Method" type, I need to change the user interface form, as well as change the logical codes. Then I will recompile the project and send the update to all outlets, and this is not easy to do. Then I have an idea, I need to separate each form in the project as modules (I will use DLL files if this is normal), so when I change the form, I do not need to recompile everything. I simply modify and compile the necessary form and update it to outlets.

So, can I compile the form in a DLL? if so, how to achieve this? Or maybe I'm not in the right direction to get my idea?

Thanks in advance.

+3
source share
5 answers

Update

As noted in the commentary on the CP article, the previous answer had many flaws. This article has better implemented plugin architecture in C #. You can also refer to this answer for more options.

Previous answer

You can use the plugin for this . Here is a very good article that can help you.

, . , .

+3

DLL. - , , (, ), DLL, . , , .

, , , (, ) . .

0

DLL. , , ( VS 2010 ). , , DLL. ( ) , () .

0
0

I’m more interested in the reason when you said: “Then I will recompile the project and send the update to all outlets, and this is not easy to do, and why do you think that“ separating each form as a module / DLL ”will fix your problem. This is due to because the size of the DLL compiled from all projects is too large to submit? If you are trying to split each form into your own / dll module, then you can finally have several projects with one solution ...

0
source

All Articles