@@ -0,0 +1,6 @@ | |||||
Backup/ | |||||
shadowsocks-csharp/bin/ | |||||
shadowsocks-csharp/obj/ | |||||
shadowsocks-csharp/shadowsocks-csharp.csproj.user | |||||
*.suo | |||||
@@ -1,6 +1,6 @@ | |||||
namespace shadowsocks_csharp | namespace shadowsocks_csharp | ||||
{ | { | ||||
partial class Form1 | |||||
partial class ConfigForm | |||||
{ | { | ||||
/// <summary> | /// <summary> | ||||
/// 必需的设计器变量。 | /// 必需的设计器变量。 | ||||
@@ -29,7 +29,7 @@ | |||||
private void InitializeComponent() | private void InitializeComponent() | ||||
{ | { | ||||
this.components = new System.ComponentModel.Container(); | this.components = new System.ComponentModel.Container(); | ||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); | |||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ConfigForm)); | |||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); | this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); | ||||
this.label5 = new System.Windows.Forms.Label(); | this.label5 = new System.Windows.Forms.Label(); | ||||
this.label1 = new System.Windows.Forms.Label(); | this.label1 = new System.Windows.Forms.Label(); |
@@ -8,14 +8,14 @@ using System.Diagnostics; | |||||
namespace shadowsocks_csharp | namespace shadowsocks_csharp | ||||
{ | { | ||||
public partial class Form1 : Form | |||||
public partial class ConfigForm : Form | |||||
{ | { | ||||
Local local; | Local local; | ||||
PACServer pacServer; | PACServer pacServer; | ||||
Config config; | Config config; | ||||
PolipoRunner polipoRunner; | PolipoRunner polipoRunner; | ||||
public Form1() | |||||
public ConfigForm() | |||||
{ | { | ||||
config = Config.Load(); | config = Config.Load(); | ||||
InitializeComponent(); | InitializeComponent(); |
@@ -38,7 +38,7 @@ namespace shadowsocks_csharp | |||||
} | } | ||||
Application.EnableVisualStyles(); | Application.EnableVisualStyles(); | ||||
Application.SetCompatibleTextRenderingDefault(false); | Application.SetCompatibleTextRenderingDefault(false); | ||||
Application.Run(new Form1()); | |||||
Application.Run(new ConfigForm()); | |||||
} | } | ||||
@@ -89,19 +89,19 @@ | |||||
<Compile Include="Encrypt\IEncryptor.cs" /> | <Compile Include="Encrypt\IEncryptor.cs" /> | ||||
<Compile Include="PACServer.cs" /> | <Compile Include="PACServer.cs" /> | ||||
<Compile Include="Config.cs" /> | <Compile Include="Config.cs" /> | ||||
<Compile Include="Form1.cs"> | |||||
<Compile Include="ConfigForm.cs"> | |||||
<SubType>Form</SubType> | <SubType>Form</SubType> | ||||
</Compile> | </Compile> | ||||
<Compile Include="Form1.Designer.cs"> | |||||
<DependentUpon>Form1.cs</DependentUpon> | |||||
<Compile Include="ConfigForm.Designer.cs"> | |||||
<DependentUpon>ConfigForm.cs</DependentUpon> | |||||
</Compile> | </Compile> | ||||
<Compile Include="Local.cs" /> | <Compile Include="Local.cs" /> | ||||
<Compile Include="PolipoRunner.cs" /> | <Compile Include="PolipoRunner.cs" /> | ||||
<Compile Include="Program.cs" /> | <Compile Include="Program.cs" /> | ||||
<Compile Include="Properties\AssemblyInfo.cs" /> | <Compile Include="Properties\AssemblyInfo.cs" /> | ||||
<Compile Include="SystemProxy.cs" /> | <Compile Include="SystemProxy.cs" /> | ||||
<EmbeddedResource Include="Form1.resx"> | |||||
<DependentUpon>Form1.cs</DependentUpon> | |||||
<EmbeddedResource Include="ConfigForm.resx"> | |||||
<DependentUpon>ConfigForm.cs</DependentUpon> | |||||
<SubType>Designer</SubType> | <SubType>Designer</SubType> | ||||
</EmbeddedResource> | </EmbeddedResource> | ||||
<EmbeddedResource Include="Properties\Resources.resx"> | <EmbeddedResource Include="Properties\Resources.resx"> | ||||