登录
首页 » C# » 类迅雷的悬浮窗程序

类迅雷的悬浮窗程序

于 2013-12-30 发布
0 170
下载积分: 1 下载次数: 0

代码说明:

类迅雷的悬浮窗程序

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 动画效果浮动窗体实例
            private void StopRectTimer_Tick(object sender, EventArgs e)        {            //如果鼠标在窗体上,则根据停靠位置显示整个窗体              if (this.Bounds.Contains(Cursor.Position))            {                switch (this.StopDock)                {                    case AnchorStyles.Top:                        this.Location = new Point(this.Location.X, 0);                        break;                    case AnchorStyles.Bottom:                        this.Location = new Point(this.Location.X, Screen.PrimaryScreen.Bounds.Height - this.Height);                        break;                    case AnchorStyles.Left:                        this.Location = new Point(0, this.Location.Y);                        break;                    case AnchorStyles.Right:                        this.Location = new Point(Screen.PrimaryScreen.Bounds.Width - this.Width, this.Location.Y);                        break;                }            }            else  //如果鼠标离开窗体,则根据停靠位置隐藏窗体,但须留出部分窗体边缘以便鼠标选中窗体              {                switch (this.StopDock)                {                    case AnchorStyles.Top:                        this.Location = new Point(this.Location.X, (this.Height - 3) * (-1));                        break;                    case AnchorStyles.Bottom:                        this.Location = new Point(this.Location.X, Screen.PrimaryScreen.Bounds.Height - 5);                        break;                    case AnchorStyles.Left:                        this.Location = new Point((-1) * (this.Width - 3), this.Location.Y);                        break;                    case AnchorStyles.Right:                        this.Location = new Point(Screen.PrimaryScreen.Bounds.Width - 2, this.Location.Y);                        break;                }            }        }
    2015-06-10下载
    积分:1
  • 微软ocr MODI OCR调用识别,合成双层pdf
    【实例简介】微软ocr MODI OCR调用识别,合成双层pdf
    2021-08-09 00:30:57下载
    积分:1
  • c#任务管理器 示例代码
    自己做的c#任务管理器
    2014-09-19下载
    积分:1
  • Environment示例源码
    Environment示例源码
    2014-04-14下载
    积分:1
  • c# 敏感词过滤(繁体简体互换/支持全角半角互换/汉字转拼音)示例源码
    拼音 模糊搜索
    2017-08-23下载
    积分:1
  • C标准库函数大全.chm
    C语言标准库函数大全.chm
    2020-12-07下载
    积分:1
  • WCF/Socket文件传输 实例源码下载
    WCF/Socket文件传输 实例源码下载
    2016-01-07下载
    积分:1
  • 收银系统(源码+数据库)
    【实例简介】世纪华联超市-收银系统源码
    2021-10-11 00:31:03下载
    积分:1
  • webapi jwt身份验证请求token(亲测通过)源码
    webapi jwt身份验证请求token(亲测通过)源码
    2018-07-22下载
    积分:1
  • 直流减速电机
    【实例简介】带编码器的直流减速电机代码(正反转版).zip
    2021-06-01 00:31:30下载
    积分:1
  • 696518资源总数
  • 105678会员总数
  • 22今日下载