mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2025-02-02 10:02:36 +01:00
Update source and donation links
This commit is contained in:
parent
f9de32e184
commit
4c99cfd7cf
@ -22,31 +22,37 @@ namespace DS4Windows
|
||||
int ind = tLPTranslators.Controls.IndexOf(ctrls[0]) + 1;
|
||||
((Label)tLPTranslators.Controls[ind]).ForeColor = Color.DarkGreen;
|
||||
}
|
||||
|
||||
FileVersionInfo fvi = FileVersionInfo.GetVersionInfo(Assembly.GetExecutingAssembly().Location);
|
||||
string version = fvi.FileVersion;
|
||||
lbAbout.Text += version + ")";
|
||||
if (tPCredits.HasChildren)
|
||||
foreach (System.Windows.Forms.Control ctrl in tPCredits.Controls)
|
||||
{
|
||||
foreach (Control ctrl in tPCredits.Controls)
|
||||
{
|
||||
if (ctrl.HasChildren)
|
||||
foreach (System.Windows.Forms.Control ctrl2 in ctrl.Controls)
|
||||
{
|
||||
foreach (Control ctrl2 in ctrl.Controls)
|
||||
ctrl2.MouseHover += Items_MouseHover;
|
||||
}
|
||||
|
||||
ctrl.MouseHover += Items_MouseHover;
|
||||
}
|
||||
}
|
||||
|
||||
tPCredits.MouseHover += Items_MouseHover;
|
||||
lbLinkText.Text = string.Empty;
|
||||
}
|
||||
|
||||
private void Items_MouseHover(object sender, EventArgs e)
|
||||
{
|
||||
switch (((System.Windows.Forms.Control)sender).Name)
|
||||
switch (((Control)sender).Name)
|
||||
{
|
||||
//if (File.Exists(appdatapath + "\\Auto Profiles.xml"))
|
||||
case "linkJays2Kings": lbLinkText.Text = "http://ds4windows.com"; break;
|
||||
case "linkElectro": lbLinkText.Text = "https://code.google.com/r/brianfundakowskifeldman-ds4windows/"; break;
|
||||
case "linkInhexSTER": lbLinkText.Text = "https://code.google.com/p/ds4-tool/"; break;
|
||||
case "linkJhebbel": lbLinkText.Text = "http://dsdcs.com/index.php/portfolio/software-development/4-ds4windows"; break;
|
||||
case "linkSourceCode": lbLinkText.Text = "https://github.com/Jays2Kings/DS4Windows"; break;
|
||||
case "linkSourceCode": lbLinkText.Text = "https://github.com/Ryochan7/DS4Windows"; break;
|
||||
case "linkBoganhobo": lbLinkText.Text = "https://github.com/boganhobo"; break;
|
||||
case "linkChamilsaan": lbLinkText.Text = "https://github.com/Chamilsaan"; break;
|
||||
case "linkKiliansch": lbLinkText.Text = "https://github.com/kiliansch"; break;
|
||||
@ -82,12 +88,14 @@ namespace DS4Windows
|
||||
|
||||
private void linkDonate_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
{
|
||||
Process.Start("https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=2FTZ9BZEHSQ8Q&lc=US&item_name=DS4Windows¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted");
|
||||
//Process.Start("https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=2FTZ9BZEHSQ8Q&lc=US&item_name=DS4Windows¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted");
|
||||
Process.Start("https://paypal.me/ryochan7");
|
||||
}
|
||||
|
||||
private void linkSourceCode_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
{
|
||||
Process.Start("https://github.com/Jays2Kings/DS4Windows");
|
||||
//Process.Start("https://github.com/Jays2Kings/DS4Windows");
|
||||
Process.Start("https://github.com/Ryochan7/DS4Windows");
|
||||
}
|
||||
|
||||
private void linkBoganhobo_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
|
Loading…
x
Reference in New Issue
Block a user