diff --git a/butterflow-ui/AboutWindow.xaml b/butterflow-ui/AboutWindow.xaml index 555d00d..4e41de1 100644 --- a/butterflow-ui/AboutWindow.xaml +++ b/butterflow-ui/AboutWindow.xaml @@ -15,6 +15,11 @@ + + + + + diff --git a/butterflow-ui/AboutWindow.xaml.cs b/butterflow-ui/AboutWindow.xaml.cs index c8f14c4..8732d2a 100644 --- a/butterflow-ui/AboutWindow.xaml.cs +++ b/butterflow-ui/AboutWindow.xaml.cs @@ -2,6 +2,7 @@ using System.Collections.Generic; using System.Diagnostics; using System.Linq; +using System.Reflection; using System.Text; using System.Threading.Tasks; using System.Windows; @@ -24,6 +25,8 @@ namespace butterflow_ui public AboutWindow() { InitializeComponent(); + + this.txtVersion.Text = Assembly.GetExecutingAssembly().GetName().Version.ToString(); } /// Event handler. Called by Hyperlink for request navigate events. diff --git a/butterflow-ui/Localization/Localization.Designer.cs b/butterflow-ui/Localization/Localization.Designer.cs index bcdcc9e..41a342d 100644 --- a/butterflow-ui/Localization/Localization.Designer.cs +++ b/butterflow-ui/Localization/Localization.Designer.cs @@ -753,6 +753,15 @@ namespace butterflow_ui.Localization { } } + /// + /// Looks up a localized string similar to Version. + /// + public static string VersionLabel { + get { + return ResourceManager.GetString("VersionLabel", resourceCulture); + } + } + /// /// Looks up a localized string similar to Width. /// diff --git a/butterflow-ui/Localization/Localization.resx b/butterflow-ui/Localization/Localization.resx index 18a8b08..e580b79 100644 --- a/butterflow-ui/Localization/Localization.resx +++ b/butterflow-ui/Localization/Localization.resx @@ -357,4 +357,7 @@ Save + + Version + \ No newline at end of file diff --git a/butterflow-ui/Properties/AssemblyInfo.cs b/butterflow-ui/Properties/AssemblyInfo.cs index 642eb05..ca06db2 100644 --- a/butterflow-ui/Properties/AssemblyInfo.cs +++ b/butterflow-ui/Properties/AssemblyInfo.cs @@ -8,11 +8,11 @@ using System.Windows; // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("butterflow-ui")] -[assembly: AssemblyDescription("")] +[assembly: AssemblyDescription("A graphical user interface for butterflow. ")] [assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] +[assembly: AssemblyCompany("butterflow-ui developers")] [assembly: AssemblyProduct("butterflow-ui")] -[assembly: AssemblyCopyright("Copyright © 2018")] +[assembly: AssemblyCopyright("MIT License")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] @@ -51,5 +51,5 @@ using System.Windows; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyVersion("1.0.1.*")] [assembly: AssemblyFileVersion("1.0.0.0")]