Minimize a Form to System Tray

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.

Up Next
    Ebook Download
    View all
    Learn
    View all