Dashboard readonly strings

This commit is contained in:
Chev 2021-05-30 19:20:15 -07:00
parent 048f99da9f
commit 552955ef67

View file

@ -11,9 +11,12 @@ namespace BOTWToolset
/// </summary>
public partial class Dashboard : Window
{
public static string VERSION = System.Diagnostics.FileVersionInfo.GetVersionInfo(Assembly.GetExecutingAssembly().Location).ProductVersion;
// Get the app version from the assembly info
public static readonly string VERSION = System.Diagnostics.FileVersionInfo.GetVersionInfo(Assembly.GetExecutingAssembly().Location).ProductVersion;
// Get the user's desktop path
public static readonly string UserDesktop = Environment.GetFolderPath(Environment.SpecialFolder.Desktop);
public static string UserDesktop = Environment.GetFolderPath(Environment.SpecialFolder.Desktop);
// All tabs used in the toolset
// Adding a new tool to the program requires its tab control to be added here
public static readonly UserControl[] toolsetTabs = new UserControl[]