摘要:
设置窗体出现的具体位置:窗体 form = new 窗体(); form.StartPosition = FormStartPosition.Manual;form.Location = new Point(300, 0);form.Show(); 禁止窗体自由移动:public const int WM_SYSCOMMAND = 0x112;public const int SC_MOVE = 0xF012;protected override void WndProc(ref Message m){ if (m.Msg == WM_SYSCOMMAND) { ... 阅读全文