Skip to content

Commit

Permalink
Fix closing alert
Browse files Browse the repository at this point in the history
  • Loading branch information
EndermanPC committed Jul 9, 2024
1 parent c021e2a commit 9a0287b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions Create.cs
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,7 @@ private void OnClosing(object sender, CancelEventArgs cancelEventArgs)
if (result == DialogResult.Yes)
Application.Exit();
else if (result == DialogResult.No)
cancelEventArgs.Cancel = false;

cancelEventArgs.Cancel = true;
}
}
}
3 changes: 1 addition & 2 deletions Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@ private void OnClosing(object sender, CancelEventArgs cancelEventArgs)
if (result == DialogResult.Yes)
Application.Exit();
else if (result == DialogResult.No)
cancelEventArgs.Cancel = false;

cancelEventArgs.Cancel = true;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
[assembly: System.Reflection.AssemblyCompanyAttribute("Lithicsoft Trainer Studio")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+1f8bc14045c36b91557f3d1db41c82faa1a345b2")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+c021e2a6272dc6655cd94992eeb67695442a18ef")]
[assembly: System.Reflection.AssemblyProductAttribute("Lithicsoft Trainer Studio")]
[assembly: System.Reflection.AssemblyTitleAttribute("Lithicsoft Trainer Studio")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
d5f1a474ef3c0b3f3743c1cd60ea904b0c89bebd301cb8b9d2205e73a36b9334
db5e0d0fd2f509c421af868cd512753bebdcf342687d70a36848a6f29fa9e17e

0 comments on commit 9a0287b

Please sign in to comment.