Skip to content

Commit 8d73aba

Browse files
committed
Version 3.1 snapshot 25_07_03a
+ Added pop-in effect for Windows 8.1 and above + In night mode, logos now have white text in the about menu + Scrollable interface when window is too small for both new UI and classic interface + Test suite (incomplete, for development purposes) + Auto-restart when changing from classic UI to new UI and vice versa + Added classic UI form for MessageTableEditor + Added customize buttons and removed custom checkbox from classic UI + Ability to disable crashdump for Windows 10 and 11 bugchecks * Fixed font not fully changing for Windows 11 beta black screen * Fixed Windows 95 and NT errors combobox not populating when using classic UI * Other minor fixes
1 parent 83cf30b commit 8d73aba

39 files changed

Lines changed: 3175 additions & 293 deletions

Forms/Interfaces/AboutSettingsDialog.Designer.cs

Lines changed: 31 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Forms/Interfaces/AboutSettingsDialog.cs

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
using System.Text;
1313
using System.Text.Json;
1414
using System.Windows.Media.Animation;
15+
using UltimateBlueScreenSimulator.Forms.Interfaces;
1516

1617
namespace UltimateBlueScreenSimulator
1718
{
@@ -24,6 +25,7 @@ partial class AboutSettingsDialog : MaterialForm
2425
internal bool Demo = false;
2526
readonly Random r = new Random();
2627
private int reelTime = 0;
28+
private bool closed = false;
2729
public AboutSettingsDialog()
2830
{
2931
MaterialSkinManager materialSkinManager = Program.f1.materialSkinManager;
@@ -145,6 +147,11 @@ private void SetInitalInterface(object sender, EventArgs e)
145147
demoReelTimer.Enabled = true;
146148
return;
147149
}
150+
if (Program.gs.NightTheme)
151+
{
152+
markusSoftwareLogo.Image = Properties.Resources.msoftware_dm;
153+
veriFileLogo.Image = Properties.Resources.verifile_dm;
154+
}
148155
Program.f1.abopen = true;
149156
rtlSwitch.Visible = Program.gs.DevBuild;
150157
//Hide settings tabs
@@ -400,8 +407,15 @@ private void ExitMe(object sender, FormClosingEventArgs e)
400407
{
401408
//Makes sure that the configuration is saved when closing the form
402409
Program.f1.abopen = false;
403-
if (SettingTab)
410+
if (SettingTab && !closed)
404411
{
412+
closed = true;
413+
if (Program.gs.LegacyUI)
414+
{
415+
Program.gs.SaveSettings();
416+
Application.Restart();
417+
return;
418+
}
405419
UIActions.GetOS(Program.f1);
406420
}
407421
}
@@ -1038,7 +1052,13 @@ private void materialButton11_Click(object sender, EventArgs e)
10381052

10391053
private void legacyInterfaceCheck_CheckedChanged(object sender, EventArgs e)
10401054
{
1055+
closed = true;
10411056
Program.gs.LegacyUI = legacyInterfaceCheck.Checked;
10421057
}
1058+
1059+
private void materialButton12_Click(object sender, EventArgs e)
1060+
{
1061+
new TestSuite().Show();
1062+
}
10431063
}
10441064
}

0 commit comments

Comments
 (0)