Saturday, September 15, 2007

Network analyzer for mobile device

Most of this explanation for network analyzer for the mobile device.
When we are closing the "X" button on a windows mobile 6 C# application.
Its not closing that is the reason we couldn't remove the dll from the memory. (specific to mobile network analyzer)
Actually its minimizing. therefore its necessary to set one property MinimizeBox to false.


http://msdn2.microsoft.com/en-us/library/system.windows.forms.form.mi...
says;
"Gets or sets a value indicating whether the Minimize button is
displayed in the caption bar of the form."
My understanding is it's not closing , but minimizing.

If we set the property, we can trigger one event when the form closes,
MainForm_Closing(object sender, CancelEventArgs e)
then we can check the user preference and if the user does not need to
save we can set the
e.Cancel = false; //good bye.