- 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]
源码介绍
一、更新记录
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)
用户名 | 推荐指数 | 下载时间 |
---|