mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
remove win32 message boxes
This commit is contained in:
parent
c58a8ab739
commit
724677be64
@ -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