我遇到了問題,與此處_benji相同https://stackoverflow.com/questions/28053087/cannot-set-owner-property-to-a-window-that-has-not-been-shown-previously,因此我無法使ModernDialog顯示消息,有沒有人有過並且解決過此問題?ModernDialog.ShowMessage錯誤:「無法將Owner屬性設置爲以前未顯示的窗口。」
System.Windows.MessageBoxResult response = ModernDialog.ShowMessage("Cannot connect; try again?", "Connection Status", MessageBoxButton.YesNo);
感謝
你從哪裏調用這段代碼? – 2015-02-17 23:55:33