RP
Ramesh Praveen
Syncfusion Team
May 13, 2003 12:39 PM UTC
Maybe the Application.ApplicationExit will get called before your Closing event?
-Praveen
AD
Administrator
Syncfusion Team
May 30, 2003 01:07 PM UTC
This is what I had to do:
public static void ShuttingDown()
{
StackTrace Trace = new StackTrace(true);
if(Trace.FrameCount > 13)
{
if(Trace.GetFrame(14).GetMethod().Name=="WmSysCommand")
{
e.Cancel=true;
this.Visible=false;
}
}
}