mirror of
https://github.com/stuff-by-3-random-dudes/UWUVCI-AIO-WPF
synced 2024-11-22 19:13:11 +00:00
Update ImageCreator - Kopieren.xaml.cs
Updated Messagebox to use the Custom Messages that are used everywhere else
This commit is contained in:
parent
83c9778698
commit
227cb89f30
1 changed files with 11 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue