diff options
| author | Michael <[email protected]> | 2017-02-02 09:47:23 -0500 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-02-02 09:47:23 -0500 |
| commit | bbe37edb68f9e7535216bff80ba3e6b16cbca398 (patch) | |
| tree | 4382859eda0c253e17966159890f49208a41367f /ShiftOS.WinForms/FakeSetupScreen.cs | |
| parent | d8978b860d950e3ccde3c8beecf8b88bdd4a34a8 (diff) | |
| download | shiftos_thereturn-bbe37edb68f9e7535216bff80ba3e6b16cbca398.tar.gz shiftos_thereturn-bbe37edb68f9e7535216bff80ba3e6b16cbca398.tar.bz2 shiftos_thereturn-bbe37edb68f9e7535216bff80ba3e6b16cbca398.zip | |
Shiftnet, and audio fixes
Diffstat (limited to 'ShiftOS.WinForms/FakeSetupScreen.cs')
| -rw-r--r-- | ShiftOS.WinForms/FakeSetupScreen.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ShiftOS.WinForms/FakeSetupScreen.cs b/ShiftOS.WinForms/FakeSetupScreen.cs index cc38d9b..a30b66c 100644 --- a/ShiftOS.WinForms/FakeSetupScreen.cs +++ b/ShiftOS.WinForms/FakeSetupScreen.cs @@ -191,6 +191,9 @@ So make sure your password is secure enough that it can't be guessed, but easy f this.CanClose = true; this.Close(); break; + case 10: + pglogin.BringToFront(); + break; } } @@ -262,5 +265,12 @@ So make sure your password is secure enough that it can't be guessed, but easy f currentPage++; SetupUI(); } + + private void button1_Click(object sender, EventArgs e) + { + ShiftOS.Objects.ShiftFS.Utils.Delete(Paths.GetPath("user.dat")); + System.IO.File.WriteAllText(Paths.SaveFile, ShiftOS.Objects.ShiftFS.Utils.ExportMount(0)); + Application.Restart(); + } } } |
