Skip to content

Commit

Permalink
Fix #83 Links do not work
Browse files Browse the repository at this point in the history
  • Loading branch information
bartekmotyl committed Sep 17, 2023
1 parent 342fa9d commit d4ea218
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 4 additions & 3 deletions src/SimpleVideoCutter/AboutBox.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Reflection;
Expand Down Expand Up @@ -105,11 +106,11 @@ public string AssemblyCompany

private void linkLabelGithub_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
System.Diagnostics.Process.Start(linkLabelGithub.Text);
Process.Start(new ProcessStartInfo(linkLabelGithub.Text) { UseShellExecute = true });
}
private void linkLabelGithubreleases_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
System.Diagnostics.Process.Start(linkLabelGithub.Text);
Process.Start(new ProcessStartInfo(linkLabelGithubReleases.Text) { UseShellExecute = true });
}

private async void AboutBox_Load(object sender, EventArgs e)
Expand All @@ -129,7 +130,7 @@ private async void AboutBox_Load(object sender, EventArgs e)

private void linkLabelEmail_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
System.Diagnostics.Process.Start("mailto:[email protected]");
Process.Start(new ProcessStartInfo("mailto:[email protected]") { UseShellExecute = true });
}

private void buttonLicense_Click(object sender, EventArgs e)
Expand Down
3 changes: 2 additions & 1 deletion src/SimpleVideoCutter/FormFFmpegMissingDialog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.IO.Compression;
Expand All @@ -25,7 +26,7 @@ public FormFFmpegMissingDialog()

private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
System.Diagnostics.Process.Start("https://www.gyan.dev/ffmpeg/builds/");
Process.Start(new ProcessStartInfo("https://www.gyan.dev/ffmpeg/builds/") { UseShellExecute = true });
}

private async void buttonDownload_Click(object sender, EventArgs e)
Expand Down

0 comments on commit d4ea218

Please sign in to comment.