C# 漂亮的智能顶部停靠窗口

上传者: wangshiwei1105 | 上传时间: 2025-12-31 15:01:52 | 文件大小: 1.01MB | 文件类型: RAR
  说是智能,其实就是if判断,哈!借用个时髦词,勿怪。 在codeproject上看到这个效果,不错。原版是VB.Net的,改成了C#版的,又加了拖动功能。功能如下: 1、停靠在屏幕顶部的时候会自动收缩,只在屏幕顶部留个小边框,鼠标移上来的时候展开。 2、按住窗口边框可以拖动。   界面组成:无边框窗口+工具栏+图片。代码主要是Mouse的事件,Timer的使用。 开发环境:VS2005 运行截图:http://www.our-code.com/news/201010/n2571184.html

文件下载

资源详情

[{"title":"( 72 个子文件 1.01MB ) C# 漂亮的智能顶部停靠窗口","children":[{"title":"winStudy","children":[{"title":"DockTopForm.resx <span style='color:#111;'> 31.26KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Debug","children":[{"title":"CFJK.Windows.dll <span style='color:#111;'> 264.00KB </span>","children":null,"spread":false},{"title":"SafeHelloServer.pdb <span style='color:#111;'> 19.50KB </span>","children":null,"spread":false},{"title":"HelloClient.pdb <span style='color:#111;'> 13.50KB </span>","children":null,"spread":false},{"title":"CFJK.Windows.pdb <span style='color:#111;'> 275.50KB </span>","children":null,"spread":false},{"title":"HelloServer.exe <span style='color:#111;'> 16.00KB </span>","children":null,"spread":false},{"title":"CaptureImageTool.dll <span style='color:#111;'> 80.00KB </span>","children":null,"spread":false},{"title":"HelloClient.vshost.exe <span style='color:#111;'> 5.50KB </span>","children":null,"spread":false},{"title":"winStudy.exe <span style='color:#111;'> 244.00KB </span>","children":null,"spread":false},{"title":"HelloClient.exe <span style='color:#111;'> 16.00KB </span>","children":null,"spread":false},{"title":"SafeHelloServer.dll <span style='color:#111;'> 16.00KB </span>","children":null,"spread":false},{"title":"SafeRemoteHello.pdb <span style='color:#111;'> 11.50KB </span>","children":null,"spread":false},{"title":"RemoteHello.dll <span style='color:#111;'> 16.00KB </span>","children":null,"spread":false},{"title":"SafeHelloServer.vshost.exe <span style='color:#111;'> 5.50KB </span>","children":null,"spread":false},{"title":"RemoteHello.pdb <span style='color:#111;'> 13.50KB </span>","children":null,"spread":false},{"title":"SysLog.txt <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"SafeHelloClient.vshost.exe <span style='color:#111;'> 5.50KB </span>","children":null,"spread":false},{"title":"SafeHelloClient.exe <span style='color:#111;'> 16.00KB </span>","children":null,"spread":false},{"title":"Cursors","children":[{"title":"Arrow.cur <span style='color:#111;'> 4.19KB </span>","children":null,"spread":false},{"title":"Cross.cur <span style='color:#111;'> 4.19KB </span>","children":null,"spread":false},{"title":"CrossNew.cur <span style='color:#111;'> 4.19KB </span>","children":null,"spread":false},{"title":"ArrowNew.cur <span style='color:#111;'> 2.19KB </span>","children":null,"spread":false}],"spread":false},{"title":"SafeHelloServer.exe <span style='color:#111;'> 16.00KB </span>","children":null,"spread":false},{"title":"winStudy.pdb <span style='color:#111;'> 61.50KB </span>","children":null,"spread":false},{"title":"winStudy.vshost.exe <span style='color:#111;'> 5.50KB </span>","children":null,"spread":false},{"title":"CaptureImageTool.pdb <span style='color:#111;'> 177.50KB </span>","children":null,"spread":false},{"title":"SafeHelloClient.pdb <span style='color:#111;'> 13.50KB </span>","children":null,"spread":false},{"title":"XMLFile1.xml <span style='color:#111;'> 5.17KB </span>","children":null,"spread":false},{"title":"SafeRemoteHello.dll <span style='color:#111;'> 16.00KB </span>","children":null,"spread":false},{"title":"HelloServer.pdb <span style='color:#111;'> 13.50KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"Class","children":[{"title":"GlobalVar.cs <span style='color:#111;'> 4.95KB </span>","children":null,"spread":false}],"spread":true},{"title":"Program.cs <span style='color:#111;'> 1023B </span>","children":null,"spread":false},{"title":"DockTopForm.cs <span style='color:#111;'> 4.29KB </span>","children":null,"spread":false},{"title":"GuideForm.resx <span style='color:#111;'> 126.87KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"winStudy.csproj.FileListAbsolute.txt <span style='color:#111;'> 3.17KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"winStudy.MainForm.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"winStudy.exe <span style='color:#111;'> 244.00KB </span>","children":null,"spread":false},{"title":"winStudy.Properties.Resources.resources <span style='color:#111;'> 106.87KB </span>","children":null,"spread":false},{"title":"winStudy.pdb <span style='color:#111;'> 61.50KB </span>","children":null,"spread":false},{"title":"winStudy.csproj.GenerateResource.Cache <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false},{"title":"ResolveAssemblyReference.cache <span style='color:#111;'> 26.18KB </span>","children":null,"spread":false},{"title":"TempPE","children":[{"title":"Properties.Resources.Designer.cs.dll <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false}],"spread":false},{"title":"winStudy.DockTopForm.resources <span style='color:#111;'> 17.08KB </span>","children":null,"spread":false},{"title":"winStudy.GuideForm.resources <span style='color:#111;'> 81.08KB </span>","children":null,"spread":false},{"title":"Refactor","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"winStudy.csproj <span style='color:#111;'> 5.20KB </span>","children":null,"spread":false},{"title":"MainForm.Designer.cs <span style='color:#111;'> 13.51KB </span>","children":null,"spread":false},{"title":"Cursors","children":[{"title":"Arrow.cur <span style='color:#111;'> 4.19KB </span>","children":null,"spread":false},{"title":"Cross.cur <span style='color:#111;'> 4.19KB </span>","children":null,"spread":false},{"title":"CrossNew.cur <span style='color:#111;'> 4.19KB </span>","children":null,"spread":false},{"title":"ArrowNew.cur <span style='color:#111;'> 2.19KB </span>","children":null,"spread":false}],"spread":true},{"title":"Resources","children":[{"title":"HelpTSDDB.png <span style='color:#111;'> 3.28KB </span>","children":null,"spread":false},{"title":"ObjectTSB.png <span style='color:#111;'> 3.09KB </span>","children":null,"spread":false},{"title":"PropertiesTSB.png <span style='color:#111;'> 3.08KB </span>","children":null,"spread":false},{"title":"CancelTSB.png <span style='color:#111;'> 3.00KB </span>","children":null,"spread":false},{"title":"MainGuide.png <span style='color:#111;'> 49.53KB </span>","children":null,"spread":false},{"title":"FolderTSB.png <span style='color:#111;'> 4.62KB </span>","children":null,"spread":false},{"title":"HelpObject.png <span style='color:#111;'> 744B </span>","children":null,"spread":false},{"title":"复件 arrow_m.ico <span style='color:#111;'> 766B </span>","children":null,"spread":false},{"title":"RectangleTSB.png <span style='color:#111;'> 2.99KB </span>","children":null,"spread":false}],"spread":true},{"title":"GuideForm.Designer.cs <span style='color:#111;'> 8.31KB </span>","children":null,"spread":false},{"title":"XMLFile1.xml <span style='color:#111;'> 5.17KB </span>","children":null,"spread":false},{"title":"DockTopForm.Designer.cs <span style='color:#111;'> 11.26KB </span>","children":null,"spread":false},{"title":"MainForm.cs <span style='color:#111;'> 6.56KB </span>","children":null,"spread":false},{"title":"GuideForm.cs <span style='color:#111;'> 2.65KB </span>","children":null,"spread":false},{"title":"Controls","children":null,"spread":false},{"title":"Properties","children":[{"title":"Resources.resx <span style='color:#111;'> 133.69KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 6.04KB </span>","children":null,"spread":false}],"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 384B </span>","children":null,"spread":false},{"title":"MainForm.resx <span style='color:#111;'> 6.07KB </span>","children":null,"spread":false}],"spread":false},{"title":"winStudy.sln <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明