登录
首页 » C# » 窗体的浮动及隐藏--示例源码下载.zip

窗体的浮动及隐藏--示例源码下载.zip

于 2019-08-08 发布
0 211
下载积分: 1 下载次数: 1

代码说明:

窗体的浮动及隐藏--示例源码下载.zip

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

发表评论

0 个回复

  • WebApi(ApiController)强制返回xml或者json 示例
    强制某个方法返回xml或者json ,当然也可以强制某个 controller返回xml或json
    2014-06-12下载
    积分:1
  • c# 数字转换成 bool类型值 0,1,2,-1 普及下
    总结:convert.tobool(0)==false, 非0 则均为true
    2014-06-27下载
    积分:1
  • NPOI操作Execel
    NPOI操作Execel
    2013-09-01下载
    积分:1
  • C# 自动识别文件的编码格式(支持utf-8/gb3212/gbk/ascii等多种格式)
    可自动识别以下格式的文件 "GB2312", "GBK", "HZ", "Big5", "CNS 11643", "ISO 2022CN", "UTF-8", "Unicode", "ASCII", "OTHER"  
    2013-12-24下载
    积分:1
  • 动画效果浮动窗体实例
            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
  • c# 通过反射创建实例并设置属性的例子源码
    通过Reflection创建实例
    2014-11-19下载
    积分:1
  • C# 单机网络监听 实例源码
    可实现本机TCP or udp网络监听
    2014-11-17下载
    积分:1
  • 从数据库读取数据到treeview 示例源码下载
    从数据库读取数据到treeview 示例源码下载
    2021-04-09 20:08:59下载
    积分:1
  • C# 198个winform 实例源码下载
    198个winform 经典实例源码
    2015-01-27下载
    积分:1
  • 常用数据库访问类 (sql server/mysql/access/oracle)源码下载
    实用数据库访问类,封装常见的数据库访问类助手
    2014-10-23下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载