I'm trying to invoke the below but the EventHander is not compatible with the RasConnectionEventArgs from my calling event, how would I invoke SetOverlayIcon and my notification icon on the UI thread?
Public Sub watcher_Connected(ByVal sender As Object, ByVal e As RasConnectionEventArgs)
If InvokeRequired Then
BeginInvoke(New EventHandler(AddressOf OnRegChanged))
Else
TaskbarManager.Instance.SetOverlayIcon(My.Resources.LockIcon, "Connected")
Me.NotifyIcon.ShowBalloonTip(5000, "Connected", e.Connection.EntryName, ToolTipIcon.Info)
End Sub