窗口起始位置为屏幕中央
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
获取鼠标触发事件光标位置
this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
Location = new Point(Cursor.Position.X, Cursor.Position.Y)
标签:rtp gpo nbsp his 屏幕 win body 鼠标 for
窗口起始位置为屏幕中央
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
获取鼠标触发事件光标位置
this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
Location = new Point(Cursor.Position.X, Cursor.Position.Y)
标签:rtp gpo nbsp his 屏幕 win body 鼠标 for
原文地址:https://www.cnblogs.com/shy1766IT/p/8193510.html