It is very easy to do this but needs a bit of imagination and skill. Here is the code snippet that does it all.
private void button1_Click(object sender, EventArgs e)
{
if (minsys.Checked == true)
{
this.Visible = false;
}
this.WindowState = FormWindowState.Minimized;
}
This is the event handler of the minimize button.
Check the application and see how it works.

Rijin M JPosted Dec 31, 2011, 3:38 AM
what u mean by minsys when am trying i got error like this Error The name 'minsys' does not exist in the current
Randolph AlveyraPosted Dec 18, 2007, 7:21 PM
however, you could have gone more by explaining more part of the code that actually displays the minimized icon on the system tray, since this is an article on how to do that. And also, you could provide some links for reference materials where other users can be benefited too. this is a very simple and direct approach solution for the task. thank you for sharing.
Anandakumar MuthusamyPosted Dec 11, 2007, 1:18 AM
What is a minsys?