1
Answer

how to execute windows form from class file of dll project?

Photo of Amy

Amy

11y
2k
1

I have created dll project which I am running through PrinterplusPlus (Virtual printer). In my dll I have one process.cs and form1.cs (which is windows form). As you can see in the code process. Cs is calling Form1. Cs, there are quite a few operations done on Form1 and now I want to retrieve data from the database and show it on Form2. On execution Through virtual printer function work fine, If data is duplicate windows A form appears, but everytime it goes in Not responding mode.

I tried to divide it in the foreground and background thread but still Same result, then I took out method other than display form2 but still on Display windows form goes into Not responding state.

I hope this makes my question clear.

Thank you guys, I appreciate your time and help.

process.cs


Answers (1)