Update titlebar version

Brian [2016-08-25 14:27:39]
Update titlebar version
Filename
PokemonGo.RocketBot.Window/Forms/MainForm.cs
PokemonGo.RocketBot.Window/PokemonGo.RocketBot.Window.csproj
diff --git a/PokemonGo.RocketBot.Window/Forms/MainForm.cs b/PokemonGo.RocketBot.Window/Forms/MainForm.cs
index 81a4c3a..c3da741 100644
--- a/PokemonGo.RocketBot.Window/Forms/MainForm.cs
+++ b/PokemonGo.RocketBot.Window/Forms/MainForm.cs
@@ -72,7 +72,7 @@ namespace PokemonGo.RocketBot.Window.Forms

         private void MainForm_Load(object sender, EventArgs e)
         {
-            Text = @"RocketBot v" + Assembly.GetExecutingAssembly().GetName().Version;
+            Text = @"RocketBot v" + Application.ProductVersion;

             //User activity tracking, help us get more information to make RocketBot better
             //Everything is anonymous
diff --git a/PokemonGo.RocketBot.Window/PokemonGo.RocketBot.Window.csproj b/PokemonGo.RocketBot.Window/PokemonGo.RocketBot.Window.csproj
index 91204dd..c3fee91 100644
--- a/PokemonGo.RocketBot.Window/PokemonGo.RocketBot.Window.csproj
+++ b/PokemonGo.RocketBot.Window/PokemonGo.RocketBot.Window.csproj
@@ -202,6 +202,7 @@
     <Compile Include="Helpers\ResourceHelper.cs" />
     <Compile Include="Helpers\S2GMapDrawer.cs" />
     <Compile Include="Helpers\TimeHelper.cs" />
+    <Compile Include="Helpers\VersionHelper.cs" />
     <Compile Include="Models\GMapMarkerPokestops.cs" />
     <Compile Include="Models\GMapMarkerTrainer.cs" />
     <Compile Include="Models\LoggingStrings.cs" />
You may download the files in Public Git.