首页 新闻 会员 周边

System.ArgumentException: 参数无效

0
悬赏园豆:20 [已关闭问题] 关闭于 2013-11-22 10:21
在Win7下面 出现图片路径问题 出现下面问题
System.ArgumentException: 参数无效。
在 System.Drawing.Image.get_Width()
在 System.Drawing.Image.get_Size()
在 System.Windows.Forms.PictureBox.ImageRectangleFromSizeMode(PictureBoxSizeMode mode)
在 System.Windows.Forms.PictureBox.OnPaint(PaintEventArgs pe)
在 System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
在 System.Windows.Forms.Control.WmPaint(Message& m)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 QLFUI.MyTextBoxEx.uPictureBox.WndProc(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

DICKLI的主页 DICKLI | 初学一级 | 园豆:164
提问于:2013-11-12 15:17
< >
分享
所有回答(1)
0

也可能是图片本身有问题,图片文件可以正常打开吗?

会长 | 园豆:12401 (专家六级) | 2013-11-12 17:06

图片上面代码画出来的   不知道是系统代码起冲突还是透明文本框有问题?

支持(0) 反对(0) DICKLI | 园豆:164 (初学一级) | 2013-11-15 15:41
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册