抓取并显示程序中的鼠标程序(C#源代码编写)Graphicsg;privatevoidForm1_MouseUp(objectsender,System.Windows.Forms.MouseEventArgse){Cursor.Draw(g,newRectangle(e.X,e.Y,10,10));}privatevoidForm1_Load(objectsender,System.EventArgse){g=this.CreateGraphics();}VisualStudio2008创建