AccessViolationException: 嘗試讀取或寫入受保護的記憶體。這通常表示其他記憶體已損毀。 StackTrace: 於 MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg) 於 System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) 於 System.Windows.Window.ShowHelper(Object booleanBox) 於 System.Windows.Window.ShowDialog()