stchan/PdfScribe

Custom Windows UI form doesn't show up

Closed this issue · 2 comments

I created a custom windows form and triggered it using Application.Run(CustomForm()) and form.ShowDialog() and form.Show() from Program.cs in PdfScribe.
When printing a document the form is not showing, but the process keeps running in the background.

However, when I tried double clicking the exe, the form showed up. It doesn't show up only when I try to print from some other application.

The port monitor (redmon) launches PdfScribe with a hidden window. You'll either have to change the port config to launch it as a normal window, or if you don't want to do that, change your code to start another process running your GUI.

closing due to inactivity