摘要:
Title在这里输入文本... protectedoverridevoidWndProc(refMessagem){constintWM_SYSCOMMAND=0x0112;constintSC_CLOSE=0xF060;if(m.Msg==WM_SYSCOMMAND&&(int)m.WParam==SC_CLOSE){//屏蔽传入的消息事件this.WindowState=FormWindowState.Minimized;return;}base.WndProc(refm);}protectedoverrideboolProcessCmdKey(refSystem.Wind 阅读全文
posted @ 2011-05-30 14:59 hyruur 阅读(854) 评论(1) 推荐(1) 编辑