ArgumentOutOfRangeException: 参数值必须大于零。 参数名: pixelWidth --Message: 参数值必须大于零。 参数名: pixelWidth StackTrace: 在 System.Windows.Media.Imaging.RenderTargetBitmap..ctor(Int32 pixelWidth, Int32 pixelHeight, Double dpiX, Double dpiY, PixelFormat pixelFormat) 在 DynamicClass.GetImage(Boolean isHideMask) 在 DynamicClass.ShowImage(BitmapSource bts) 在 DynamicClass.GlobalMouseHook.MouseHookCallback(Int32 nCode, IntPtr wParam, IntPtr lParam)
ArgumentOutOfRangeException: 参数值必须大于零。 参数名: pixelWidth --Message: 参数值必须大于零。 参数名: pixelWidth StackTrace: 在 System.Windows.Media.Imaging.RenderTargetBitmap..ctor(Int32 pixelWidth, Int32 pixelHeight, Double dpiX, Double dpiY, PixelFormat pixelFormat) 在 DynamicClass.GetImage(Boolean isHideMask) 在 DynamicClass.CopyImage() 在 DynamicClass.OnKeyDown(Key key, ModifierKeys modifiers) 在 DynamicClass.GlobalKeyboardHook.HookCallback(Int32 nCode, IntPtr wParam, IntPtr lParam)