不用单步,我都知道问题出在那里,就是不知出什么问题了。
Bitmap bitmapR = new Bitmap("F:\\m1.png");
IntPtr handleR = bitmapR.GetHicon();
System.Windows.Forms.Cursor myCursorR = new System.Windows.Forms.Cursor(handleR);
this.Cursor = myCursorR;
实际上就是在MouseLButtonDown和Up里面设置鼠标光标的时候出错的
Bitmap bitmapR = new Bitmap("F:\\m1.png");
IntPtr handleR = bitmapR.GetHicon();
System.Windows.Forms.Cursor myCursorR = new System.Windows.Forms.Cursor(handleR);
this.Cursor = myCursorR;
实际上就是在MouseLButtonDown和Up里面设置鼠标光标的时候出错的
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货