Browse Source

update UI

tags/2.3
clowwindy 10 years ago
parent
commit
fe6c48bdef
3 changed files with 20 additions and 15 deletions
  1. +2
    -2
      shadowsocks-csharp/Properties/AssemblyInfo.cs
  2. +16
    -13
      shadowsocks-csharp/View/ConfigForm.Designer.cs
  3. +2
    -0
      shadowsocks-csharp/shadowsocks-csharp.csproj

+ 2
- 2
shadowsocks-csharp/Properties/AssemblyInfo.cs View File

@@ -8,7 +8,7 @@ using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Shadowsocks")] [assembly: AssemblyTitle("Shadowsocks")]
[assembly: AssemblyDescription("")] [assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("clowwindy")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Shadowsocks")] [assembly: AssemblyProduct("Shadowsocks")]
[assembly: AssemblyCopyright("Copyright © clowwindy 2014")] [assembly: AssemblyCopyright("Copyright © clowwindy 2014")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
@@ -33,4 +33,4 @@ using System.Runtime.InteropServices;
// 方法是按如下所示使用“*”: // 方法是按如下所示使用“*”:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.0.0")] [assembly: AssemblyVersion("2.0.0")]
[assembly: AssemblyFileVersion("2.0.0")]
// [assembly: AssemblyFileVersion("2.0.0")]

+ 16
- 13
shadowsocks-csharp/View/ConfigForm.Designer.cs View File

@@ -53,11 +53,11 @@
this.aboutItem = new System.Windows.Forms.MenuItem(); this.aboutItem = new System.Windows.Forms.MenuItem();
this.menuItem3 = new System.Windows.Forms.MenuItem(); this.menuItem3 = new System.Windows.Forms.MenuItem();
this.quitItem = 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.panel3 = new System.Windows.Forms.Panel();
this.AddButton = new System.Windows.Forms.Button(); this.AddButton = new System.Windows.Forms.Button();
this.DeleteButton = new System.Windows.Forms.Button(); this.DeleteButton = new System.Windows.Forms.Button();
this.groupBox1 = new System.Windows.Forms.GroupBox(); this.groupBox1 = new System.Windows.Forms.GroupBox();
this.ServersListBox = new System.Windows.Forms.ListBox();
this.tableLayoutPanel1.SuspendLayout(); this.tableLayoutPanel1.SuspendLayout();
this.panel1.SuspendLayout(); this.panel1.SuspendLayout();
this.panel3.SuspendLayout(); this.panel3.SuspendLayout();
@@ -297,20 +297,12 @@
this.quitItem.Text = "Quit"; this.quitItem.Text = "Quit";
this.quitItem.Click += new System.EventHandler(this.Quit_Click); 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 // panel3
// //
this.panel3.AutoSize = true; this.panel3.AutoSize = true;
this.panel3.Controls.Add(this.DeleteButton); this.panel3.Controls.Add(this.DeleteButton);
this.panel3.Controls.Add(this.AddButton); 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.Margin = new System.Windows.Forms.Padding(0);
this.panel3.Name = "panel3"; this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(164, 30); this.panel3.Size = new System.Drawing.Size(164, 30);
@@ -339,11 +331,22 @@
this.groupBox1.Controls.Add(this.tableLayoutPanel1); this.groupBox1.Controls.Add(this.tableLayoutPanel1);
this.groupBox1.Location = new System.Drawing.Point(182, 12); this.groupBox1.Location = new System.Drawing.Point(182, 12);
this.groupBox1.Name = "groupBox1"; 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.TabIndex = 6;
this.groupBox1.TabStop = false; this.groupBox1.TabStop = false;
this.groupBox1.Text = "Server"; 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 // ConfigForm
// //
this.AcceptButton = this.OKButton; this.AcceptButton = this.OKButton;
@@ -351,8 +354,8 @@
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.AutoSize = true; this.AutoSize = true;
this.ClientSize = new System.Drawing.Size(445, 286); this.ClientSize = new System.Drawing.Size(445, 286);
this.Controls.Add(this.ServersListBox);
this.Controls.Add(this.groupBox1); this.Controls.Add(this.groupBox1);
this.Controls.Add(this.ServersListView);
this.Controls.Add(this.panel1); this.Controls.Add(this.panel1);
this.Controls.Add(this.panel3); this.Controls.Add(this.panel3);
this.Controls.Add(this.panel2); this.Controls.Add(this.panel2);
@@ -400,11 +403,11 @@
private System.Windows.Forms.MenuItem quitItem; private System.Windows.Forms.MenuItem quitItem;
private System.Windows.Forms.MenuItem configItem; private System.Windows.Forms.MenuItem configItem;
private System.Windows.Forms.MenuItem editPACFileItem; private System.Windows.Forms.MenuItem editPACFileItem;
private System.Windows.Forms.ListView ServersListView;
private System.Windows.Forms.Panel panel3; private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.Button DeleteButton; private System.Windows.Forms.Button DeleteButton;
private System.Windows.Forms.Button AddButton; private System.Windows.Forms.Button AddButton;
private System.Windows.Forms.GroupBox groupBox1; private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.ListBox ServersListBox;
} }
} }

+ 2
- 0
shadowsocks-csharp/shadowsocks-csharp.csproj View File

@@ -76,6 +76,8 @@
<CodeAnalysisRuleSet>ManagedMinimumRules.ruleset</CodeAnalysisRuleSet> <CodeAnalysisRuleSet>ManagedMinimumRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="Microsoft.VisualBasic" />
<Reference Include="Microsoft.VisualBasic.PowerPacks.Vs, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
<Reference Include="System" /> <Reference Include="System" />
<Reference Include="System.Drawing" /> <Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" /> <Reference Include="System.Windows.Forms" />


Loading…
Cancel
Save