14,13 → 14,16 |
public partial class Settings_Form : Form |
{ |
public static bool defaultSettings { get; set; } |
public static bool showFileSizes { get; set; } |
public static List<string> systemAccounts = new List<string>(); |
public static List<string> hiddenAccounts = new List<string>(); |
public static string sharedFolderLocation { get; set; } |
public static string usbMasterx32CopyLocation { get; set; } |
public static string usbMasterx64CopyLocation { get; set; } |
|
// Static variables for use by DriveLogger |
public static int driveLoggerRefreshInterval { get; set; } |
public static List<string> driveLoggerDockLabels = new List<string>(); |
public static int driveLoggerRefreshInterval { get; set; } |
public static List<string> driveLoggerDrivesToIgnore = new List<string>(); |
|
private static Settings_Form _Settings_Form = null; |
70,6 → 73,8 |
// XML Parsing using System.XML.Linq |
XElement Settings = XElement.Load("Settings.xml"); |
|
showFileSizes = bool.Parse(Settings.Element("ProgramSettings").Element("ShowFileSizes").Value); |
|
systemAccounts.Clear(); |
string tempSystemAccounts = Settings.Element("ProgramSettings").Element("SystemAccounts").Value; |
string[] tempStringArray = tempSystemAccounts.Split(new char[] { ',' }); |