diff --git a/shadowsocks-csharp/Properties/AssemblyInfo.cs b/shadowsocks-csharp/Properties/AssemblyInfo.cs
index 4fe88580..c35c5ce8 100755
--- a/shadowsocks-csharp/Properties/AssemblyInfo.cs
+++ b/shadowsocks-csharp/Properties/AssemblyInfo.cs
@@ -8,7 +8,7 @@ using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Shadowsocks")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("clowwindy")]
+[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Shadowsocks")]
[assembly: AssemblyCopyright("Copyright © clowwindy 2014")]
[assembly: AssemblyTrademark("")]
@@ -33,4 +33,4 @@ using System.Runtime.InteropServices;
// 方法是按如下所示使用“*”:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.0.0")]
-[assembly: AssemblyFileVersion("2.0.0")]
+// [assembly: AssemblyFileVersion("2.0.0")]
diff --git a/shadowsocks-csharp/View/ConfigForm.Designer.cs b/shadowsocks-csharp/View/ConfigForm.Designer.cs
index f7f72fea..65bfe1ea 100755
--- a/shadowsocks-csharp/View/ConfigForm.Designer.cs
+++ b/shadowsocks-csharp/View/ConfigForm.Designer.cs
@@ -53,11 +53,11 @@
this.aboutItem = new System.Windows.Forms.MenuItem();
this.menuItem3 = new System.Windows.Forms.MenuItem();
this.quitItem = new System.Windows.Forms.MenuItem();
- this.ServersListView = new System.Windows.Forms.ListView();
this.panel3 = new System.Windows.Forms.Panel();
this.AddButton = new System.Windows.Forms.Button();
this.DeleteButton = new System.Windows.Forms.Button();
this.groupBox1 = new System.Windows.Forms.GroupBox();
+ this.ServersListBox = new System.Windows.Forms.ListBox();
this.tableLayoutPanel1.SuspendLayout();
this.panel1.SuspendLayout();
this.panel3.SuspendLayout();
@@ -297,20 +297,12 @@
this.quitItem.Text = "Quit";
this.quitItem.Click += new System.EventHandler(this.Quit_Click);
//
- // ServersListView
- //
- this.ServersListView.Location = new System.Drawing.Point(12, 12);
- this.ServersListView.Name = "ServersListView";
- this.ServersListView.Size = new System.Drawing.Size(164, 190);
- this.ServersListView.TabIndex = 2;
- this.ServersListView.UseCompatibleStateImageBehavior = false;
- //
// panel3
//
this.panel3.AutoSize = true;
this.panel3.Controls.Add(this.DeleteButton);
this.panel3.Controls.Add(this.AddButton);
- this.panel3.Location = new System.Drawing.Point(12, 208);
+ this.panel3.Location = new System.Drawing.Point(12, 207);
this.panel3.Margin = new System.Windows.Forms.Padding(0);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(164, 30);
@@ -339,11 +331,22 @@
this.groupBox1.Controls.Add(this.tableLayoutPanel1);
this.groupBox1.Location = new System.Drawing.Point(182, 12);
this.groupBox1.Name = "groupBox1";
- this.groupBox1.Size = new System.Drawing.Size(257, 192);
+ this.groupBox1.Size = new System.Drawing.Size(257, 186);
this.groupBox1.TabIndex = 6;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Server";
//
+ // ServersListBox
+ //
+ this.ServersListBox.FormattingEnabled = true;
+ this.ServersListBox.Items.AddRange(new object[] {
+ "123.123.23.23",
+ "8.8.8.8"});
+ this.ServersListBox.Location = new System.Drawing.Point(12, 12);
+ this.ServersListBox.Name = "ServersListBox";
+ this.ServersListBox.Size = new System.Drawing.Size(164, 186);
+ this.ServersListBox.TabIndex = 2;
+ //
// ConfigForm
//
this.AcceptButton = this.OKButton;
@@ -351,8 +354,8 @@
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.AutoSize = true;
this.ClientSize = new System.Drawing.Size(445, 286);
+ this.Controls.Add(this.ServersListBox);
this.Controls.Add(this.groupBox1);
- this.Controls.Add(this.ServersListView);
this.Controls.Add(this.panel1);
this.Controls.Add(this.panel3);
this.Controls.Add(this.panel2);
@@ -400,11 +403,11 @@
private System.Windows.Forms.MenuItem quitItem;
private System.Windows.Forms.MenuItem configItem;
private System.Windows.Forms.MenuItem editPACFileItem;
- private System.Windows.Forms.ListView ServersListView;
private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.Button DeleteButton;
private System.Windows.Forms.Button AddButton;
private System.Windows.Forms.GroupBox groupBox1;
+ private System.Windows.Forms.ListBox ServersListBox;
}
}
diff --git a/shadowsocks-csharp/shadowsocks-csharp.csproj b/shadowsocks-csharp/shadowsocks-csharp.csproj
index 97d23585..0f19cb30 100755
--- a/shadowsocks-csharp/shadowsocks-csharp.csproj
+++ b/shadowsocks-csharp/shadowsocks-csharp.csproj
@@ -76,6 +76,8 @@
ManagedMinimumRules.ruleset
+
+