mirror of
https://github.com/chev2/botw-toolset.git
synced 2025-10-30 08:12:17 +00:00
Dashboard readonly strings
This commit is contained in:
parent
048f99da9f
commit
552955ef67
1 changed files with 5 additions and 2 deletions
|
|
@ -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[]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue