E
e_man_online
Hi,
I have a VStudio 2003 project that had code like:
Private Sub frmAnyForm_Closing(<parameters list...>) Handles
MyBase.Closing
and this project was converted to .NET 2.0
Everything compiled and worked no warnings or errors are left, but I
realized that the closing event in .NET 2.0 has changed to:
Private Sub frmAnyForm_FormClosing(<parameters list...>) Handles
Me.FormClosing
the MyBase.Closing event has been eliminated.
My question is: how is it possible there's no compiler error/warning
and the forms are working even though the event doesn't exist anymore?
Is it required to change the old event handlers to the new ones or not?
Thanks in advance,
Rick
I have a VStudio 2003 project that had code like:
Private Sub frmAnyForm_Closing(<parameters list...>) Handles
MyBase.Closing
and this project was converted to .NET 2.0
Everything compiled and worked no warnings or errors are left, but I
realized that the closing event in .NET 2.0 has changed to:
Private Sub frmAnyForm_FormClosing(<parameters list...>) Handles
Me.FormClosing
the MyBase.Closing event has been eliminated.
My question is: how is it possible there's no compiler error/warning
and the forms are working even though the event doesn't exist anymore?
Is it required to change the old event handlers to the new ones or not?
Thanks in advance,
Rick