Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

Commit

Permalink
add warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nyakase committed Feb 19, 2020
1 parent 3fa3bab commit 28a5ba3
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 25 deletions.
46 changes: 23 additions & 23 deletions ResourceHubLauncher/MainForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions ResourceHubLauncher/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,15 @@ public partial class MainForm : MetroForm {
}

private void metroButton2_Click(object sender, EventArgs e) {
Process.Start("https://discord.gg/uyUMhW8");
if(MsgBox("This will open a discord.gg link to our Discord server. Do you want to proceed?", "Hold up!", MessageBoxButtons.YesNo, MessageBoxIcon.Information) == DialogResult.Yes) {
Process.Start("https://discord.gg/uyUMhW8");
}
}

private void metroButton3_Click(object sender, EventArgs e) {
Process.Start("https://github.com/DesktopGooseUnofficial/launcher");
if(MsgBox("This will open a github.com link to our GitHub repo. Do you want to proceed?", "Hold up!", MessageBoxButtons.YesNo, MessageBoxIcon.Information) == DialogResult.Yes) {
Process.Start("https://github.com/DesktopGooseUnofficial/launcher");
}
}

private void metroButton1_Click(object sender, EventArgs e) {
Expand Down

0 comments on commit 28a5ba3

Please sign in to comment.