Win32Exception: 目前的程序已經使用了視窗管理員物件所有的系統可用控制代碼。 --NativeErrorCode: 1158 StackTrace: 於 MS.Win32.UnsafeNativeMethods.CreateWindowEx(Int32 dwExStyle, String lpszClassName, String lpszWindowName, Int32 style, Int32 x, Int32 y, Int32 width, Int32 height, HandleRef hWndParent, HandleRef hMenu, HandleRef hInst, Object pvParam) 於 MS.Win32.HwndWrapper..ctor(Int32 classStyle, Int32 style, Int32 exStyle, Int32 x, Int32 y, Int32 width, Int32 height, String name, IntPtr parent, HwndWrapperHook[] hooks) 於 System.Windows.Interop.HwndSource.Initialize(HwndSourceParameters parameters) 於 System.Windows.Interop.HwndSource..ctor(HwndSourceParameters parameters) 於 System.Windows.Controls.Primitives.Popup.PopupSecurityHelper.BuildWindow(Int32 x, Int32 y, Visual placementTarget, Boolean transparent, HwndSourceHook hook, AutoResizedEventHandler handler, HwndDpiChangedEventHandler dpiChangedHandler) 於 System.Windows.Controls.Primitives.Popup.BuildWindow(Visual targetVisual) 於 System.Windows.Controls.Primitives.Popup.CreateWindow(Boolean asyncCall) 於 System.Windows.Controls.Primitives.Popup.OnIsOpenChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 於 System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e) 於 System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e) 於 System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args) 於 System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType) 於 System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal) 於 System.Windows.Data.BindingOperations.SetBinding(DependencyObject target, DependencyProperty dp, BindingBase binding) 於 System.Windows.Controls.Primitives.Popup.CreateRootPopupInternal(Popup popup, UIElement child, Boolean bindTreatMousePlacementAsBottomProperty) 於 System.Windows.Controls.ContextMenu.HookupParentPopup() 於 System.Windows.Controls.ContextMenu.OnIsOpenChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 於 System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e) 於 System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e) 於 System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args) 於 System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType) 於 System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal) 於 Quicker.View.PopupWindow.nE1Wmukp8oi(ActionButton ) 於 Quicker.View.PopupWindow.nK7WmQ41djS(Object , MouseButtonEventArgs ) 於 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) 於 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) 於 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) 於 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) 於 System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) 於 System.Windows.Input.InputManager.ProcessStagingArea() 於 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) 於 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) 於 System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) 於 System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 於 System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 於 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 於 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) 於 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)