Knowledge Base Nr: 00300 taskbaricon.cs - http://www.swe-kaiser.de

Downloads:

c#: .net: Taskbaricon-Funktionalit�t

  
- NotifyIcon-Control zu Form hinzuf�gen
- Form.ShowInTaskBar = false setzen
- ContextMenuStrip zu Form hinzuf�gen
- ContextMenuStrip von NotifyIcon-Control setzen
- ContextMenuItem-Handler hinzuf�gen (z.B.: mit Show()/Hide() Fensteranzeige steuern)

private void notifyIcon_DoubleClick(object sender, EventArgs e)
{
Show();
WindowState = FormWindowState.Normal;
}