当前位置:编程学习 > C#/ASP.NET >>

怎样实现“最小化”???

怎样用C#只是实现最小化啊??????请知道的朋友教我 --------------------编程问答-------------------- 设置窗体的属性
this.WindowState = FormWindowState.Minimized; --------------------编程问答-------------------- 谢谢啊   原来这么简单啊!真的是要动手动脑善于发现啊!谢谢 --------------------编程问答-------------------- 多多看看基础内容. --------------------编程问答-------------------- .........蹭分 --------------------编程问答-------------------- 来晚了~~ --------------------编程问答-------------------- 一楼 好积极 --------------------编程问答-------------------- 蹭分吧 --------------------编程问答-------------------- 蹭分吧 --------------------编程问答-------------------- 蹭分吧 --------------------编程问答-------------------- 强化基础。。。  --------------------编程问答-------------------- JF   

这里发言,表示您接受了CSDN社区的用户行为准则。 
请对您的言行负责,并遵守中华人民共和国有关法律法规,尊重网上道德。 
转载文章请注明出自“CSDN(www.csdn.net)”。如是商业用途请联系原作者。  --------------------编程问答-------------------- JF................ --------------------编程问答-------------------- 加个NotifyIcon什么东西的 然后加个图标上去
再把窗体的显示到任务栏的属性去掉
你找找看

rivate   void   Form1_SizeChanged(object   sender,   System.EventArgs   e) 

NotifyIcon组件
if(this.WindowState==System.Windows.Forms.FormWindowState.Minimized) 

this.Hide(); 
this.notifyIcon1.Visible=true; 





private   void   notifyIcon1_Click(object   sender,   System.EventArgs   e) 

if(this.WindowState==System.Windows.Forms.FormWindowState.Minimized) 

this.Visible=true; 
this.WindowState=System.Windows.Forms.FormWindowState.Normal; 
this.notifyIcon1.Visible=false; 



}  --------------------编程问答-------------------- 建议你把基础的知识好好看看
补充:.NET技术 ,  C#
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,