K
kltr
Hi,
My program developed with c# (Net compact framework) doesn't close
correctly.
I close my program as the following:
Application.Exit();
The program in 'Settings/System/Memory/programs' is not visible, and this is
good for me.
But, when I try to run my program another once, It doesn't start!
I found another method to open and close program:
public static Form1 myForm;
static void Main(){
myForm = new Form1();
myForm.ShowDialog();
}
and close:
private void menuExit_Click(object sender, System.EventArgs e) {
myForm .Close(); //I tried even with Dispose.
Application.Exit();
}
but is the same.
Thanks
karl
My program developed with c# (Net compact framework) doesn't close
correctly.
I close my program as the following:
Application.Exit();
The program in 'Settings/System/Memory/programs' is not visible, and this is
good for me.
But, when I try to run my program another once, It doesn't start!
I found another method to open and close program:
public static Form1 myForm;
static void Main(){
myForm = new Form1();
myForm.ShowDialog();
}
and close:
private void menuExit_Click(object sender, System.EventArgs e) {
myForm .Close(); //I tried even with Dispose.
Application.Exit();
}
but is the same.
Thanks
karl