A PrettyMessageBox
to use in your WPF projects
PrettyMessageBox.Show("Title", "Test Content", ImageOptions.Checked);
try
{
//...SOMETHING THAT THROWS AN EXCEPTION...
int.Parse("");
}
catch (Exception ex)
{
PrettyMessageBox.Show("Title", "An error occurred:", ex);
}
MessageBoxResults result = PrettyMessageBox.Show("Title", "Test Content", ImageOptions.Info, ButtonOptions.OkCancel);
MessageBoxResults result = PrettyMessageBox.Show("Title", "Test Content", ImageOptions.Question, ButtonOptions.YesNoAuxiliary, "Test Aux");