Skip to content
This repository has been archived by the owner on Jan 22, 2020. It is now read-only.

Commit

Permalink
V2.7.3 Submit Face Icon Button
Browse files Browse the repository at this point in the history
  • Loading branch information
Przemysław Adamczyk committed Jan 5, 2019
1 parent c28bee6 commit 7f486fa
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
14 changes: 14 additions & 0 deletions YgoProPatcher/Client.Designer.cs

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

15 changes: 14 additions & 1 deletion YgoProPatcher/Client.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public YgoProPatcher()
{

InitializeComponent();
ServicePointManager.DefaultConnectionLimit = throttleValue+1;
ServicePointManager.DefaultConnectionLimit = throttleValue+2;
List<string> paths = LocalData.LoadFileToList("paths.txt");
YgoProLinksPath.Text = paths?[0];
YgoPro2Path.Text = paths?[1];
Expand All @@ -41,6 +41,7 @@ public YgoProPatcher()
toolTip1.SetToolTip(UpdateWhenLabel, "This label tells you if/when the next check will occur or if it's on cooldown!");
toolTip1.SetToolTip(MimimizeButton, "This button makes the application minimize to taskbar!\nUseful if you want to check for updates without this window taking space!");
toolTip1.SetToolTip(StartMinimizedCheckbox, "This lets you make YgoProPatcher start in background,\nchecking for new updates in background!");
toolTip1.SetToolTip(submitFaceButton, "This button will open you a website where you can submit a custom face icon\nthat others will be able to see if they also update using the patcher.");
string version = Data.version;
footerLabel.Text += version;
CheckForNewVersionOfPatcher(version);
Expand Down Expand Up @@ -820,6 +821,18 @@ private void YgoProPatcher_Load(object sender, EventArgs e)
}

}

private void FormSubmitButton_click(object sender, EventArgs e)
{
try
{
System.Diagnostics.Process.Start(Data.FormLink);
}
catch
{

}
}
}

}

0 comments on commit 7f486fa

Please sign in to comment.