Skip to content

Commit

Permalink
Fix issue #21 / #18
Browse files Browse the repository at this point in the history
Implement Application.Exit(); for the FormClosing event of the FirstRunSetup-Complete.cs window. Also forwarded the user to Splash.cs instead of main page to ensure no issues from #18 arise.

Co-Authored-By: Ryan Walpole <69621127+RyanWalpole@users.noreply.github.com>
  • Loading branch information
RWELabs and RyanWalpole committed Mar 9, 2022
1 parent a08e4f1 commit c3d7ce4
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
using Stardew_Mod_Manager.Startup;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
Expand Down Expand Up @@ -44,8 +45,13 @@ private void Continue_Click(object sender, EventArgs e)
Properties.Settings.Default.Save();

this.Hide();
MainPage Complete = new MainPage();
Complete.ShowDialog();
Splash Complete = new Splash();
Complete.Show();
}

private void FirstRunSetup_Complete_FormClosed(object sender, FormClosedEventArgs e)
{
Application.Exit();
}
}
}

0 comments on commit c3d7ce4

Please sign in to comment.