首页 [ 学教实践 ] 窗体定位升起降落效果实例源码
一键分享

窗体定位升起降落效果实例源码

  • 免费

2014-06-04 11:14:15

  • 源码类型: C/S
  • 开发环境: VS2022 + 无数据库
  • 开发语言: C#
  • 标签: 窗体定位 窗体弹出
  • 评分:
收藏 62 次|关注 1187 次|下载 125 次

免费


交付物: 源码包
    商家已实名认证
  • 分享者:xiaoh***
  • 访问次数:   38625 次
  • 源码数量:   297 套
  • 通过比率:   66%
  • 活跃于:   三个月前
  • TEL:   15*******45
  • 最新IP属地:北京市
  • 微信扫码咨询
.net
  • 51Aspx源码必读.txt[1KB]
  • app.config[161B]
  • Form1.cs[1KB]
  • Form1.Designer.cs[2KB]
  • Form1.resx[5KB]
  • Program.cs[505B]
  • UpgradeLog.htm[20KB]
  • WindowsFormsApplication4.csproj[4KB]
  • from.jpg[11KB]
  • WindowsFormsApplication4.sln[1KB]
  • 最新Asp.Net源码下载.url[123B]

源码介绍

源码参数

  • 源码类别:【学教实践】
  • 源码类型:C/S
  • 适合人群: 菜鸟
  • 授权类型:免费版
  • 开发语言:C#
  • 数据库:无数据库
  • 源码大小:76KB
  • 相关网址: 【免费浏览】
  • 源码指数:
  • 完整度:
  • 1
  • 2
  • 1
  • 2
  • Aspx.Query.CodeImageQueryModel
  • Aspx.Query.CodeImageQueryModel

一、更新记录

1、更新日期:2023-05-30 00:00:00

2、更新内容:
 

窗体定位升起降落效果实例源码
private void button1_Click(object sender, EventArgs e)
        {
            for (int h = 0; h< this.Size.Height; h++)
            {
                 Rectangle r = new Rectangle(System.Windows.Forms.Screen.PrimaryScreen.WorkingArea.Width - this.Size.Width, System.Windows.Forms.Screen.PrimaryScreen.WorkingArea.Height - h, this.Size.Width, this.Size.Height);//(wz)宽,高,(ct)宽,高,
                this.DesktopBounds = r;  
            }
        }

        private void button2_Click(object sender, EventArgs e)
        {
            for (int h = this.Size.Height; h >0; h--)
            {
                Rectangle r = new Rectangle(System.Windows.Forms.Screen.PrimaryScreen.WorkingArea.Width - this.Size.Width, System.Windows.Forms.Screen.PrimaryScreen.WorkingArea.Height - h, this.Size.Width, this.Size.Height);//(wz)宽,高,(ct)宽,高,
                    this.DesktopBounds = r;
            }
         this.Close();
        }

责任编辑:超级美少女

下载记录(Only Recent 100)

用户名 推荐指数 下载时间

源码评论

单击更换

评论列表

全部评论
  • 暂无评论 …

最近更新

      下载排行