Skip to content

Commit cf0b641

Browse files
committed
* Fixed documentation issue
* Improved portability
1 parent ec63b8e commit cf0b641

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

Advanced PortChecker/Windows/AboutWindow.xaml.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using System;
2+
using System.Diagnostics;
23
using System.Windows;
34
using Advanced_PortChecker.Classes;
45

@@ -33,7 +34,7 @@ private void BtnLicense_Click(object sender, RoutedEventArgs e)
3334
{
3435
try
3536
{
36-
System.Diagnostics.Process.Start("gpl.pdf");
37+
Process.Start(AppDomain.CurrentDomain.BaseDirectory + "\\gpl.pdf");
3738
}
3839
catch (Exception ex)
3940
{
@@ -45,7 +46,7 @@ private void BtnCodeDead_Click(object sender, RoutedEventArgs e)
4546
{
4647
try
4748
{
48-
System.Diagnostics.Process.Start("http://codedead.com/");
49+
Process.Start("http://codedead.com/");
4950
}
5051
catch (Exception ex)
5152
{

Advanced PortChecker/Windows/MainWindow.xaml.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,8 @@ namespace Advanced_PortChecker.Windows
1515
public partial class MainWindow
1616
{
1717
#region Variables
18-
1918
private readonly UpdateManager.UpdateManager _updateManager;
2019
private OperationInformation _oI;
21-
2220
#endregion
2321

2422
public MainWindow()

0 commit comments

Comments
 (0)