mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2025-12-22 09:29:50 +00:00
frmAbout: fixed links in form for .net5.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
Technitium DNS Server
|
||||
Copyright (C) 2020 Shreyas Zare (shreyas@technitium.com)
|
||||
Copyright (C) 2021 Shreyas Zare (shreyas@technitium.com)
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -17,6 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
*/
|
||||
|
||||
using System.Diagnostics;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace DnsServerSystemTrayApp
|
||||
@@ -32,17 +33,32 @@ namespace DnsServerSystemTrayApp
|
||||
|
||||
private void lnkContactEmail_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
{
|
||||
System.Diagnostics.Process.Start("mailto:" + lnkContactEmail.Text);
|
||||
ProcessStartInfo processInfo = new ProcessStartInfo("mailto:" + lnkContactEmail.Text);
|
||||
|
||||
processInfo.UseShellExecute = true;
|
||||
processInfo.Verb = "open";
|
||||
|
||||
Process.Start(processInfo);
|
||||
}
|
||||
|
||||
private void lnkWebsite_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
{
|
||||
System.Diagnostics.Process.Start(@"https://" + lnkWebsite.Text);
|
||||
ProcessStartInfo processInfo = new ProcessStartInfo(@"https://" + lnkWebsite.Text);
|
||||
|
||||
processInfo.UseShellExecute = true;
|
||||
processInfo.Verb = "open";
|
||||
|
||||
Process.Start(processInfo);
|
||||
}
|
||||
|
||||
private void lnkTerms_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
{
|
||||
System.Diagnostics.Process.Start(@"https://go.technitium.com/?id=24");
|
||||
ProcessStartInfo processInfo = new ProcessStartInfo(@"https://go.technitium.com/?id=24");
|
||||
|
||||
processInfo.UseShellExecute = true;
|
||||
processInfo.Verb = "open";
|
||||
|
||||
Process.Start(processInfo);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user