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.
"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.
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.