NullReferenceException: 未将对象引用设置到对象的实例。 StackTrace: 在 DynamicClass.MainWindow.<>c__DisplayClassa4.<<OnWindowLoaded>b__5d>d__b6.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
NullReferenceException: 未将对象引用设置到对象的实例。 StackTrace: 在 DynamicClass.OnMouseMove(Point pos) 在 DynamicClass.GlobalMouseHook.MouseHookCallback(Int32 nCode, IntPtr wParam, IntPtr lParam)