Browse Source

rename ConfigForm

tags/3.2
clowwindy 10 years ago
parent
commit
53401a4b9b
6 changed files with 16 additions and 10 deletions
  1. +6
    -0
      .gitignore
  2. +2
    -2
      shadowsocks-csharp/ConfigForm.Designer.cs
  3. +2
    -2
      shadowsocks-csharp/ConfigForm.cs
  4. +0
    -0
      shadowsocks-csharp/ConfigForm.resx
  5. +1
    -1
      shadowsocks-csharp/Program.cs
  6. +5
    -5
      shadowsocks-csharp/shadowsocks-csharp.csproj

+ 6
- 0
.gitignore View File

@@ -0,0 +1,6 @@
Backup/
shadowsocks-csharp/bin/
shadowsocks-csharp/obj/
shadowsocks-csharp/shadowsocks-csharp.csproj.user
*.suo


shadowsocks-csharp/Form1.Designer.cs → shadowsocks-csharp/ConfigForm.Designer.cs View File

@@ -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();

shadowsocks-csharp/Form1.cs → shadowsocks-csharp/ConfigForm.cs View File

@@ -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();

shadowsocks-csharp/Form1.resx → shadowsocks-csharp/ConfigForm.resx View File


+ 1
- 1
shadowsocks-csharp/Program.cs View File

@@ -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());
} }


+ 5
- 5
shadowsocks-csharp/shadowsocks-csharp.csproj View File

@@ -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">


Loading…
Cancel
Save