資源簡介
窗體移動到屏幕邊緣會自動伸縮,鼠標移上去的話就顯示出來!
代碼片段和文件信息
Code?highlighting?produced?by?Actipro?CodeHighlighter?(freeware)http://www.CodeHighlighter.com/-->?1?//類名:EcanQQ
//作用:QQ吸附窗體
//作者:劉典武
//時間:2010-12-01
//用法:添加timer控件,enable設置為true實例化類EcanQQ?qqfrm?=?new?EcanQQ();timer1_Tick時間調用qqfrm.hide_show(this?ref?height?timer1);?????
using?System;
using?System.Collections.Generic;
using?System.Text;
using?System.Windows.Forms;
namespace?Ecan
{
????public?class?EcanQQ
????{
????????///?
????????///?QQ吸附窗體
????????///?
????????///?要吸附邊緣的窗體
????????///?窗體的高度
????????///?定時器控件
????????//用法:在對應窗體timer控件的Tick事件中寫代碼?int?height?=?this.Height;?EcanQQ.hide_show(this?ref?height?timer1);
????????
????????public?void?hide_show(Form?f
- 上一篇:wpf 分頁控件
- 下一篇:JQuery1.8.3 js+min.js+中文CHM
評論
共有 條評論