Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

New Post: MessageBox only opens once

$
0
0
Hello!

Ive started using your messagebox to be able to style my messageboxes.

Xceed.Wpf.Toolkit.MessageBox.Show(message, caption, MessageBoxButton.YesNoCancel, MessageBoxImage.Question);

The first time i run this code it works, i press a button to close it again, and then immediately after i run the same code again. The messagebox isnt shown the second time, and my mainwindow now cant be interacted with (like ive opened a modal window). Now i have to close down the application and restart it.

The same thing happens if i set a breakpoint in the application before the window is shown the first time. Nothing is shown and i cant interact with my main window.

The regular System.Window.MessageBox works fine.

And i should mention that the application is a WinForms application with hosted WPF windows and usercontrols.

Viewing all articles
Browse latest Browse all 4964

Trending Articles