winforms - Why does a form displayed by PowerShell sometimes not show up? -
When I create a form (window) in PowerShell, then I usually display the form using .howdialog () I can:
Avoid using the Show () from PowerShell as it requires a message pump and There is nothing like the PowerShell console that provides your form on the thread. ShowDialog () works because the OS pumps the message during this model call. Creating a form and calling Sodiology () works reliably for me.
Comments
Post a Comment