Exception:建立 Window 並顯示為對話方塊之後,才能設定 DialogResult。

报错信息

InvalidOperationException
   於 System.Windows.Window.set_DialogResult(Nullable`1 value)
   於 Quicker.View.SharedActionInfoWindow.rgOdM1veaa4(Object  , RoutedEventArgs  )
   於 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   於 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   於 System.Windows.Controls.Primitives.ButtonBase.OnClick()
   於 System.Windows.Controls.Button.OnClick()
   於 System.Windows.Automation.Peers.ButtonAutomationPeer.<System.Windows.Automation.Provider.IInvokeProvider.Invoke>b__4_0(Object param)
   於 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) 

解决方法

暂无解决方案。

相关信息
0 查看
2022-09-09 22:49
Quicker版本
版本 反馈次数