摘要:
public FrmMain() { InitializeComponent(); //窗体显示特效 Opacity = 0.0; //窗体透明度为0 fadeTimer.Start(); //计时开始 } private void fadeTimer_Tick(object sender, EventArgs e) { const double d = 0.10; if (Opacity +... 阅读全文
摘要:
[DllImport("user32.dll")] public static extern bool ReleaseCapture(); [DllImport("user32.dll")] public static extern bool SendMessage(IntPtr hwnd, int wMsg, int wParam, int lParam); public const int WmSyscommand = 0x0112; public const int ScMove = 0xF010; ... 阅读全文