C#怎样才能实现窗体最小化到托盘呢?
摘要:privatevoidForm1_Resize(objectsender,System.EventArgse){if(this.Window...
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;
}
【C#怎样才能实现窗体最小化到托盘呢?】相关文章:
★ C#拼接SQL语句 用ROW_NUMBER实现的高效分页排序
上一篇:
c# 获得局域网主机列表实例