/// <summary> /// Loading icons /// </summary> protected void LoadIcons() { string lXmlFilePath = this.SelectXmlFile(); if (lXmlFilePath.Length > 0) { try { this.UpdateWindow(JHJ.FolderIcons.Resources.MainWindow.LoadingIcons); this.Application.LoadIcons(lXmlFilePath, true); this.UpdateSetupTreeView(); this.ClearCounters(); } catch (Exception lException) { ErrorToolkit.ShowErrorMessage(lException); } }
/// <summary> /// Loading defaults /// </summary> protected void LoadDefaults() { try { this.UpdateWindow(JHJ.FolderIcons.Resources.MainWindow.LoadingDefaults); this.Application.LoadDefaults(); this.UpdateSetupTreeView(); this.ClearCounters(); } catch (Exception lException) { ErrorToolkit.ShowErrorMessage(lException); } finally { this.UpdateWindow(string.Empty); } }