NotifyIcon Control
Display an icon on notification area with corresponding to the application is running. Like shown in below example.Properties of NotifyIcon
Events of Notify Icon
Code for mouse double click event on NotifyIcon
private void notifyIcon1_MouseDoubleClick(object sender, MouseEventArgs e)
{
if (this.WindowState == FormWindowState.Minimized)
{
this.Show();
this.WindowState = FormWindowState.Normal;
}
// Activate the form.
this.Activate();
this.Focus();
} |
On double-clicking Icon to tab control application you get your application as on desktop.
No comments:
Post a Comment