add log viewer

This commit is contained in:
clowwindy
2015-08-04 01:39:07 -07:00
parent 9901c2a574
commit 5acfadcdb6
2 changed files with 10 additions and 1 deletions
@@ -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)
@@ -166,6 +166,12 @@
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Controller\ShadowsocksController.cs" />
<Compile Include="Controller\System\SystemProxy.cs" />
<Compile Include="View\LogForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="View\LogForm.Designer.cs">
<DependentUpon>LogForm.cs</DependentUpon>
</Compile>
<Compile Include="View\MenuViewController.cs" />
<Compile Include="View\QRCodeForm.cs">
<SubType>Form</SubType>
@@ -185,6 +191,9 @@
<SubType>Designer</SubType>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Include="View\LogForm.resx">
<DependentUpon>LogForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="View\QRCodeForm.resx">
<DependentUpon>QRCodeForm.cs</DependentUpon>
</EmbeddedResource>