参数无效
************** 异常文本 **************
System.ArgumentException: 参数无效。
在 System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)
在 System.Drawing.Bitmap..ctor(Int32 width, Int32 height)
在 Sunisoft.IrisSkin.x867b4abdb49f9449.Repaint(SCROLLBARINFO info)
在 Sunisoft.IrisSkin.xc56e4251b5681836.PaintControl()
在 Sunisoft.IrisSkin.x2edc3f693fe78d2e.PaintControl()
在 Sunisoft.IrisSkin.x3a157e8c7a942ff8.PaintControl()
在 Sunisoft.IrisSkin.x2edc3f693fe78d2e.AfterWndProc(Message& m)
在 Sunisoft.IrisSkin.x8917d01b98173f4c.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
在 Sunisoft.IrisSkin.x61467fe65a98f20c.SetWindowPos(IntPtr hWnd, IntPtr hWndInsertAfter, Int32 X, Int32 Y, Int32 cx, Int32 cy, UInt32 uFlags)
在 Sunisoft.IrisSkin.xd24df615efe9450e.AfterWndProc(Message& m)
在 Sunisoft.IrisSkin.xd24df615efe9450e.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
在 System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
在 System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
在 System.Windows.Forms.Form.DefWndProc(Message& m)
在 System.Windows.Forms.Control.WmWindowPosChanged(Message& m)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 System.Windows.Forms.ScrollableControl.WndProc(Message& m)
在 System.Windows.Forms.ContainerControl.WndProc(Message& m)
在 System.Windows.Forms.Form.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)
************** 已加载的程序集 **************
mscorlib
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.1433 (REDBITS.050727-1400)
基本代码: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Microsoft.VisualStudio.HostingProcess.Utilities
程序集版本: 9.0.0.0
Win32 版本: 9.0.21022.8
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualStudio.HostingProcess.Utilities/9.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.HostingProcess.Utilities.dll
----------------------------------------
System.Windows.Forms
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.1433 (REDBITS.050727-1400)
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.1433 (REDBITS.050727-1400)
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.1433 (REDBITS.050727-1400)
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.VisualStudio.HostingProcess.Utilities.Sync
程序集版本: 9.0.0.0
Win32 版本: 9.0.21022.8
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualStudio.HostingProcess.Utilities.Sync/9.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.HostingProcess.Utilities.Sync.dll
----------------------------------------
Microsoft.VisualStudio.Debugger.Runtime
程序集版本: 9.0.0.0
Win32 版本: 9.0.21022.8
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualStudio.Debugger.Runtime/9.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Debugger.Runtime.dll
----------------------------------------
vshost
程序集版本: 9.0.0.0
Win32 版本: 9.0.21022.8
基本代码: file:///E:/项目/DomainManagement/xctc.ADAdvancedToolkit.MainFrame/bin/Debug/xctc.ADAdvancedToolkit.MainFrame.vshost.exe
----------------------------------------
System.Core
程序集版本: 3.5.0.0
Win32 版本: 3.5.21022.8 built by: RTM
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.DirectoryServices
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.1433 (REDBITS.050727-1400)
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.DirectoryServices/2.0.0.0__b03f5f7f11d50a3a/System.DirectoryServices.dll
----------------------------------------
System.Xml.Linq
程序集版本: 3.5.0.0
Win32 版本: 3.5.21022.8 built by: RTM
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml.Linq/3.5.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
System.Data.DataSetExtensions
程序集版本: 3.5.0.0
Win32 版本: 3.5.21022.8 built by: RTM
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Data.DataSetExtensions/3.5.0.0__b77a5c561934e089/System.Data.DataSetExtensions.dll
----------------------------------------
System.Data
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.1433 (REDBITS.050727-1400)
基本代码: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Deployment
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.1433 (REDBITS.050727-1400)
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------
System.Xml
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.1433 (REDBITS.050727-1400)
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
xctc.ADAdvancedToolkit.MainFrame
程序集版本: 1.0.0.0
Win32 版本: 1.0.0.0
基本代码: file:///E:/项目/DomainManagement/xctc.ADAdvancedToolkit.MainFrame/bin/Debug/xctc.ADAdvancedToolkit.MainFrame.EXE
----------------------------------------
xctc.ADAdvancedToolkit.ADHelpers
程序集版本: 1.0.4171.17369
Win32 版本: 1.0.4171.17369
基本代码: file:///E:/项目/DomainManagement/xctc.ADAdvancedToolkit.MainFrame/bin/Debug/xctc.ADAdvancedToolkit.ADHelpers.DLL
----------------------------------------
mscorlib.resources
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.1433 (REDBITS.050727-1400)
基本代码: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
IrisSkin2
程序集版本: 2006.3.22.45
Win32 版本: 2006.3.22.45
基本代码: file:///E:/项目/DomainManagement/xctc.ADAdvancedToolkit.MainFrame/bin/Debug/IrisSkin2.DLL
----------------------------------------
System.Drawing.resources
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.1433 (REDBITS.050727-1400)
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing.resources/2.0.0.0_zh-CHS_b03f5f7f11d50a3a/System.Drawing.resources.dll
----------------------------------------
System.Windows.Forms.resources
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.1433 (REDBITS.050727-1400)
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_zh-CHS_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
************** JIT 调试 **************
要启用实时(JIT)调试,
该应用程序或计算机的 .config 文件(machine.config)的 system.windows.forms 节中必须设置
jitDebugging 值。
编译应用程序时还必须启用
调试。
例如:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
启用 JIT 调试后,任何无法处理的异常
都将被发送到在此计算机上注册的 JIT 调试器,
而不是由此对话框处理。
使用了第三方控件 IrisSkin2 在运行项目时,有时候会提示上面的错误 麻烦大家看看是怎么回事?
[解决办法]
参数无效。。就是你传的参数类型不匹配
(Int32 width, Int32 height, PixelFormat format)
红色部分类型要对应上