C# - Close form during Load Event Closing a C# Windows Form during the Load Event is not allowed, and neither is closing it during CreateHandle or OnHandleCreated. To close the form, call Close during the VisibleChanged Event, when Visible=true (called when showing the form).
Created By: amos 3/20/2006 12:12:59 AM
|
|