17 Jul 2012 by Ahmad Negm
I have MDI and Child Forms. My MDI_FormClosing event contains the following code: clsMain.CN.Close(); //"CN" is my SqlConnection object clsMain.CN.Dispose(); Environment.Exit(-1);When I closed the MDI form with no opened child forms, it was working well.When I try to...