Update ImageCreator - Kopieren.xaml.cs

Updated Messagebox to use the Custom Messages that are used everywhere else
This commit is contained in:
ZestyTS 2020-10-27 15:51:32 -07:00
parent 83c9778698
commit 227cb89f30

View file

@ -175,8 +175,17 @@ namespace UWUVCI_AIO_WPF.UI.Windows
Image.Source = BitmapToImageSource(b);
}
catch
{
MessageBox.Show("The image you're trying to use will not work, please try a different image.", "Image Issue");
{
Custom_Message cm = new Custom_Message("Image Issue", "The image you're trying to use will not work, please try a different image.");
try
{
cm.Owner = mvm.mw;
}
catch (Exception)
{
//left empty on purpose
}
cm.ShowDialog();
}
}
enOv_Click(null, null);