diff --git a/shadowsocks-csharp/View/MenuViewController.cs b/shadowsocks-csharp/View/MenuViewController.cs index 586eed61..8250c65c 100755 --- a/shadowsocks-csharp/View/MenuViewController.cs +++ b/shadowsocks-csharp/View/MenuViewController.cs @@ -412,7 +412,7 @@ namespace Shadowsocks.View { string argument = Logging.LogFile; - System.Diagnostics.Process.Start("notepad.exe", argument); + new LogForm(argument).Show(); } private void QRCodeItem_Click(object sender, EventArgs e) diff --git a/shadowsocks-csharp/shadowsocks-csharp.csproj b/shadowsocks-csharp/shadowsocks-csharp.csproj index 79d2c156..cfcd70a1 100644 --- a/shadowsocks-csharp/shadowsocks-csharp.csproj +++ b/shadowsocks-csharp/shadowsocks-csharp.csproj @@ -166,6 +166,12 @@ + + Form + + + LogForm.cs + Form @@ -185,6 +191,9 @@ Designer Resources.Designer.cs + + LogForm.cs + QRCodeForm.cs