mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
Merge pull request #2943 from pizzaboxer/removal/win32-message-boxes
Remove Win32 message boxes
This commit is contained in:
commit
e992f074a7
@ -17,20 +17,7 @@ namespace Bloxstrap.UI
|
|||||||
if (App.LaunchSettings.QuietFlag.Active)
|
if (App.LaunchSettings.QuietFlag.Active)
|
||||||
return defaultResult;
|
return defaultResult;
|
||||||
|
|
||||||
if (App.LaunchSettings.RobloxLaunchMode != LaunchMode.None)
|
|
||||||
return ShowFluentMessageBox(message, icon, buttons);
|
return ShowFluentMessageBox(message, icon, buttons);
|
||||||
|
|
||||||
switch (App.Settings.Prop.BootstrapperStyle)
|
|
||||||
{
|
|
||||||
case BootstrapperStyle.FluentDialog:
|
|
||||||
case BootstrapperStyle.ClassicFluentDialog:
|
|
||||||
case BootstrapperStyle.FluentAeroDialog:
|
|
||||||
case BootstrapperStyle.ByfronDialog:
|
|
||||||
return ShowFluentMessageBox(message, icon, buttons);
|
|
||||||
|
|
||||||
default:
|
|
||||||
return MessageBox.Show(message, App.ProjectName, buttons, icon);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void ShowPlayerErrorDialog(bool crash = false)
|
public static void ShowPlayerErrorDialog(bool crash = false)
|
||||||
|
Loading…
Reference in New Issue
Block a user