foreach (var i=Application.OpenForms.Count-1;i>=0;i--) { var f= Application.OpenForms[i]; if (f.Name != "frmMain") { f.Close(); break; } }
Muthukrishnan Ramasamynet4.rmkrishnan.netUse only what you need, Reduce global warming
No comments:
Post a Comment