M
msnews.microsoft.com
Hi there,
I wan't to run my application with argument that causes the application to
do something without showing up gui.
It works but in the end shows blank form and does not terminate (see code
snippet).
How can I terminate my application immediatly?
--------------------
public Fyrirtaekjavaki(bool keyra)
{
if (keyra)
{
LesaInnRSGGogn(true);
MessageBox.Show("Here");
Application.Exit();
}
else
InitializeComponent();
}
-------------------------
I wan't to run my application with argument that causes the application to
do something without showing up gui.
It works but in the end shows blank form and does not terminate (see code
snippet).
How can I terminate my application immediatly?
--------------------
public Fyrirtaekjavaki(bool keyra)
{
if (keyra)
{
LesaInnRSGGogn(true);
MessageBox.Show("Here");
Application.Exit();
}
else
InitializeComponent();
}
-------------------------