Hi,
ShowDialog method will stop execution. You can test it with a button :
ShowDialog method will stop execution. You can test it with a button :
private void Button_Click( object sender, RoutedEventArgs e )
{
var msgBox = new Xceed.Wpf.Toolkit.MessageBox() { Caption = "Message", Text ="Content Message" };
var rValue = msgBox.ShowDialog();
if( rValue.HasValue )
{
if( rValue.Value )
System.Diagnostics.Debug.WriteLine("return true");
else
System.Diagnostics.Debug.WriteLine( "return false" );
}
else
{
System.Diagnostics.Debug.WriteLine( "no return value" );
}
}