I want to write a windows service that will communicate with my win app and it will run my windows form. How can I do it? If you give me a link of a simple example it will be very good.
I have another question: if I run my win form with windows service and if I don’t close my form, it will be closed if the user logs off, is it true?
There are numerous options:
What mechanism is the best for your case depends on tons of requirements you haven’t stated and probably didn’t think about. In case you don’t have a clue what you need from it, just grab any mechanism that is simple enough and for which you’ve googled a suitable tutorial and just start coding.