diff --git a/PortProxyGUI/About.cs b/PortProxyGUI/About.cs
index 9f52ee9..daa35d1 100644
--- a/PortProxyGUI/About.cs
+++ b/PortProxyGUI/About.cs
@@ -1,6 +1,5 @@
using System;
using System.Diagnostics;
-using System.Drawing;
using System.Windows.Forms;
namespace PortProxyGUI
@@ -16,7 +15,7 @@ namespace PortProxyGUI
InitializeComponent();
Font = Util.UiFont;
- label_version.Text = label_version.Text + " v" + Application.ProductVersion;
+ label_version.Text = this.Text = string.Format("Port Proxy GUI v{0}", Program.AppVersion);
}
private void linkLabel1_Click(object sender, EventArgs e)
diff --git a/PortProxyGUI/PortProxyGUI.Designer.cs b/PortProxyGUI/PortProxyGUI.Designer.cs
index 276fff1..099feb1 100644
--- a/PortProxyGUI/PortProxyGUI.Designer.cs
+++ b/PortProxyGUI/PortProxyGUI.Designer.cs
@@ -208,6 +208,7 @@
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.listViewProxies);
this.Name = "PortProxyGUI";
+ this.Opacity = 0.98D;
this.Load += new System.EventHandler(this.PortProxyGUI_Load);
this.Shown += new System.EventHandler(this.PortProxyGUI_Shown);
this.contextMenuStrip1.ResumeLayout(false);
diff --git a/PortProxyGUI/PortProxyGUI.cs b/PortProxyGUI/PortProxyGUI.cs
index 5db85ba..7864c4d 100644
--- a/PortProxyGUI/PortProxyGUI.cs
+++ b/PortProxyGUI/PortProxyGUI.cs
@@ -27,6 +27,8 @@ namespace PortProxyGUI
private void PortProxyGUI_Load(object sender, EventArgs e)
{
+ this.Text = string.Format("Port Proxy GUI v{0}", Program.AppVersion);
+ this.Size = new System.Drawing.Size(797, 456);
}
private void PortProxyGUI_Shown(object sender, EventArgs e)
diff --git a/PortProxyGUI/PortProxyGUI.resx b/PortProxyGUI/PortProxyGUI.resx
index b7f58c4..18ec391 100644
--- a/PortProxyGUI/PortProxyGUI.resx
+++ b/PortProxyGUI/PortProxyGUI.resx
@@ -74,13 +74,13 @@
Listen on
- 140
+ 120
Listen port
- 100
+ 95
Connect to
@@ -92,7 +92,7 @@
Connect port
- 100
+ 95
Ping Status
@@ -104,29 +104,29 @@
Comment
- 104
+ 114
17, 17
- 180, 22
+ 175, 22
Enable (&E)
- 180, 22
+ 175, 22
Disable (&I)
- 177, 6
+ 172, 6
- 180, 22
+ 175, 22
Refresh (&F)
@@ -135,7 +135,7 @@
Refresh Port Proxies
- 180, 22
+ 175, 22
Refresh Ping Status
@@ -144,7 +144,7 @@
Refresh Host Ping Statuses
- 180, 22
+ 175, 22
Flush DNS Cache
@@ -153,37 +153,37 @@
Perform ipconfig/flushDNS
- 177, 6
+ 172, 6
- 180, 22
+ 175, 22
New (&N) ...
- 180, 22
+ 175, 22
Modify (&M) ...
- 180, 22
+ 175, 22
Delete (&D)
- 177, 6
+ 172, 6
- 180, 22
+ 175, 22
About
- 181, 242
+ 176, 220
contextMenuStrip1
@@ -215,7 +215,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAEZTeXN0ZW0uV2luZG93cy5Gb3JtcywgQ3VsdHVyZT1uZXV0cmFs
LCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5BQEAAAAmU3lzdGVtLldpbmRvd3MuRm9ybXMu
SW1hZ2VMaXN0U3RyZWFtZXIBAAAABERhdGEHAgIAAAAJAwAAAA8DAAAA3AgAAAJNU0Z0AUkBTAIBAQIB
- AAF4AQEBeAEBARABAAEQAQAE/wEJAQAI/wFCAU0BNgEEBgABNgEEAgABKAMAAUADAAEQAwABAQEAAQgG
+ AAGQAQEBkAEBARABAAEQAQAE/wEJAQAI/wFCAU0BNgEEBgABNgEEAgABKAMAAUADAAEQAwABAQEAAQgG
AAEEGAABgAIAAYADAAKAAQABgAMAAYABAAGAAQACgAIAA8ABAAHAAdwBwAEAAfABygGmAQABMwUAATMB
AAEzAQABMwEAAjMCAAMWAQADHAEAAyIBAAMpAQADVQEAA00BAANCAQADOQEAAYABfAH/AQACUAH/AQAB
kwEAAdYBAAH/AewBzAEAAcYB1gHvAQAB1gLnAQABkAGpAa0CAAH/ATMDAAFmAwABmQMAAcwCAAEzAwAC
diff --git a/PortProxyGUI/Program.cs b/PortProxyGUI/Program.cs
index 0670b84..a2be975 100644
--- a/PortProxyGUI/Program.cs
+++ b/PortProxyGUI/Program.cs
@@ -1,5 +1,6 @@
using PortProxyGUI.Data;
using System;
+using System.Reflection;
using System.Windows.Forms;
namespace PortProxyGUI
@@ -7,7 +8,7 @@ namespace PortProxyGUI
static class Program
{
public static readonly ApplicationDbScope SqliteDbScope = ApplicationDbScope.UseDefault();
-
+ public static readonly string AppVersion = Assembly.GetExecutingAssembly().GetName().Version.ToString();
///
/// The main entry point for the application.
///