privatevoidForm1_Resize(objectsender,System.EventArgse){
if(this.WindowState==FormWindowState.Minimized){
this.Visible=false;
this.notifyIcon1.Visible=true;
}
}
privatevoidnotifyIcon1_Click(objectsender,System.EventArgse){
this.Visible=true;
this.WindowState=FormWindowState.Normal;
this.notifyIcon1.Visible=false;
}
