Is it possible to close a form while the constructor is executing (or simply to stop it showing at this stage)?
I have the following code:
public par
Environment.Exit(...) is working for me (without window flickering):
Environment.Exit(...)
public partial class MyForm : Form { public MyForm() { if (weShouldClose) { Environment.Exit(0); } } }