Пример #1
0
 public ReportContainerDialog(AppSettings settings, string name, string description, bool useCustomIcon, GizmoComputerHardwareIconsEnum customIcon)
 {
     Owner = Application.Current.MainWindow;
     InitializeComponent();
     ThemeManager.ApplyThemeToWindow(this, settings.Theme);
     DataContext = new ReportContainerSettingsViewModel(name, description, useCustomIcon, customIcon);
     FillWrapPanelWithIcons(useCustomIcon, customIcon);
 }
Пример #2
0
 public ReportContainerDialog(AppSettings settings)
 {
     Owner = Application.Current.MainWindow;
     InitializeComponent();
     ThemeManager.ApplyThemeToWindow(this, settings.Theme);
     DataContext = new ReportContainerSettingsViewModel();
     FillWrapPanelWithIcons(false, GizmoComputerHardwareIconsEnum.None);
 }