I am trying to show a balloon tip every hour that my form is minimized to the tray. I allready have the minimize part done but how do I set the timer once it is down and then show the message every hour. I have some code I pulled from MSDN but I am not sure how to apply it to my situation. Also I have the timer set to 10 seconds here so that I can see the balloon tip for testing.
vb Code:
  1. Private Sub SetTimer()
  2.         Dim aTimer As New System.Timers.Timer()
  3.         AddHandler aTimer.Elapsed, AddressOf OnTimedEvent
  4.         aTimer.Interval = 10000
  5.         aTimer.Enabled = True
  6.         GC.KeepAlive(aTimer)
  7.     End Sub
  8.     Private Sub OnTimedEvent(ByVal source As Object, ByVal e As ElapsedEventArgs)
  9.         ShowCSABaloon()
  10.     End Sub
Also will this timer have a noticable effect on performance?