-
Hello, I have written a WPF application based on Stylet. The focus should be then placed on the already open application and the arguments should be passed. I used this article: https://www.codeproject.com/Articles/1224031/Passing-Parameters-to-a-Running-Application-in-WPF and without Stylet everything works fine. I tested it. My problem is that I don't really know how to hook the main method/ STAThread . Can anyone help me? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I don't follow. What exactly can you do in a non-Stylet WPF app, which you can't do in a Stylet WPF app? Can you give some specific lines of code please? |
Beta Was this translation helpful? Give feedback.
I don't follow. What exactly can you do in a non-Stylet WPF app, which you can't do in a Stylet WPF app? Can you give some specific lines of code please?