 |
System tray and balloon tips
Dave Howard (6170 views)
Balloon Tips from the System Tray
You can really easily add system tray function to .NET windows forms by dragging the NotifyIcon object onto your form.
You can then use this to display balloon tips from the system tray with the code below:
#c#myNotifyIcon.ShowBalloonTip(500, "Title", "Ti
|
 |
Updating controls from another thread
Dave Howard (2580 views)
Updating form controls from another thread.
Form controls, by default, can only be updated by the forms thread. Otherwise an invoke must be used.
The example below shows a simple logging function that can be called by threads other than the forms.
#c#delegate void LogSafeCall(string s);
|