Experience in C++, C#, Java and Process : Living in Montreal

* What is my technical experience as a software developer

* What I have learned in the software business

* Where I am heading to in my career

* How to process in a project

Sunday, January 23, 2005

Add a taskbar tray in C#

C# provides the NotifyIcon in task bar as a component. Here is some event it has to handle:

private void FormMain_Resize(object sender, System.EventArgs e)
{
if (FormWindowState.Minimized == WindowState) Hide();
}
private void notifyIconTask_DoubleClick(object sender, System.EventArgs e)
{
Show();
WindowState = FormWindowState.Normal;
}

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home