G
Guest
When contained in a button click event firied by the UI the close method works.
If I call this method thru code, or call the click event thru code, or
create an event and fire it which calls Close() the method does NOT close
the form.
I am trying to close form in the forms constructor if DB server is down and
show polite message " SQL Server not running, your application is being
closed." ?
If I call this method thru code, or call the click event thru code, or
create an event and fire it which calls Close() the method does NOT close
the form.
I am trying to close form in the forms constructor if DB server is down and
show polite message " SQL Server not running, your application is being
closed." ?