Events, another C# conversion question...
I've come across this in some code that I am converting to VB...
Code:
private static readonly object DockStateChangedEvent = new object();
public event EventHandler DockStateChanged
{
add { Events.AddHandler(DockStateChangedEvent, value); }
remove { Events.RemoveHandler(DockStateChangedEvent, value); }
}
Anyone want to give me a clue as to what it should look like after its converted? Its like a maze, you start from the cheese and work your way back to the mouse.
:afrog: