public ReportDialog(AppSettings settings, string name, string description, bool useCustomIcon, GizmoComputerHardwareIconsEnum customIcon, TreeItem root, ReportSettings reportSettings)
 {
     Owner = Application.Current.MainWindow;
     InitializeComponent();
     ThemeManager.ApplyThemeToWindow(this, settings.Theme);
     DataContext = new ReportItemSettingsViewModel(name, description, useCustomIcon, customIcon, root, reportSettings);
     FillWrapPanelWithIcons(useCustomIcon, customIcon);
 }
 public ReportDialog(AppSettings settings, TreeItem root)
 {
     Owner = Application.Current.MainWindow;
     InitializeComponent();
     ThemeManager.ApplyThemeToWindow(this, settings.Theme);
     DataContext = new ReportItemSettingsViewModel(root);
     FillWrapPanelWithIcons(false, GizmoComputerHardwareIconsEnum.None);
 }