System.Reflection.TargetInvocationException: 调用的目标发生了异常。 ---> System.InvalidOperationException: This method cannot be called until the Application is fully initialized
在 ClearCanvas.Desktop.Application.DoQuit()
在 ClearCanvas.Desktop.Application.Quit()
在 ClearCanvas.Desktop.View.WinForms.DesktopWindowView.FormFormClosingEventHandler(Object sender, FormClosingEventArgs e)
在 System.Windows.Forms.Form.OnFormClosing(FormClosingEventArgs e)
在 System.Windows.Forms.Form.RaiseFormClosingOnAppExit()
在 System.Windows.Forms.Application.ExitInternal()
在 System.Windows.Forms.Application.Exit(CancelEventArgs e)
在 System.Windows.Forms.Application.Exit()
在 ClearCanvas.Desktop.View.WinForms.GuiToolkit.Terminate()
在 ClearCanvas.Desktop.Application.<>c__DisplayClass2.b__0(Object sender, EventArgs e)
--- 内部异常堆栈跟踪的结尾 ---
在 System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
在 System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
在 System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
在 System.Delegate.DynamicInvokeImpl(Object[] args)
在 ClearCanvas.Common.Utilities.EventsHelper.Fire(Delegate del, Object sender, EventArgs e)
在 ClearCanvas.Desktop.View.WinForms.GuiToolkit.<>c__DisplayClass1.b__0(Object sender, EventArgs args)
在 System.Windows.Forms.Timer.OnTick(EventArgs e)
在 System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)