/// <summary> /// Attempts to load the settings from the XssSettings.xml file. If it fails to find the settings, it uses the default ones. /// </summary> private void loadSettings() { try { this.settings = UASettings.Load(); } catch (FileNotFoundException) { settings = new UASettings(); } catch (Exception) { settings = new UASettings(); } }