未来无限的博客窗体起始位置为顶部中间,WinForm居中显示: int x = (System.Windows.Forms.SystemInformation.WorkingArea.Width - this.Size.Width) / 2; int y = (System.Windows.Forms.SystemInformation.WorkingArea.Height -...
社会小红玉的博客C#Winfrom窗体启动加载时特效 这是一个简单的窗体加载特效 首先我们要引用 using System.Runtime.InteropServices; 然后在窗体写一个类 public class Win32 { public const Int32 AW_HOR_POSITIVE = 0x...