launcher: use SkinnedMessageBox when exiting

This commit is contained in:
somewhatlurker
2019-08-05 08:15:06 +10:00
parent ec7850c714
commit fec60e6e82
+1 -1
View File
@@ -505,7 +505,7 @@ private: System::Void DisplayTypeChangedHandler(System::Object^ sender, System::
}
}
private: System::Void Ui_FormClosing(System::Object^ sender, System::Windows::Forms::FormClosingEventArgs^ e) {
switch (MessageBox::Show("Do you want to save your settings?", "PD Launcher", MessageBoxButtons::YesNoCancel, MessageBoxIcon::Question))
switch (SkinnedMessageBox::Show(this, "Do you want to save your settings?", "PD Launcher", MessageBoxButtons::YesNoCancel, MessageBoxIcon::Question))
{
case System::Windows::Forms::DialogResult::Yes:
SaveSettings();