Event 'Closing' like old Query_Unload?

  • Thread starter Thread starter Tom
  • Start date Start date
T

Tom

Is the VB.NET Windows Form base class event 'CLOSING' basically like the old
VB 6 Query_Unload event? I.E. If we set the e.Cancel=True, will it cancel
the closing/unload of the form?

Tom
 
* "Tom said:
Is the VB.NET Windows Form base class event 'CLOSING' basically like the old
VB 6 Query_Unload event? I.E. If we set the e.Cancel=True, will it cancel
the closing/unload of the form?

Yes. The only difference is that it's not as easy to get the unload
mode in .NET.
 
Back
Top