Esempio n. 1
0
        private void CreateVisibilityControl(NameAttribute displayNameAttribute)
        {
            var visibilityControl = new ConfigVisibilityControl(_localController.GetLocalStrings <SDGuiStrings>(), _coreConfigSection, _buildController);

            visibilityControl.ConfigItemDisplayName = _localController.GetLocalString(displayNameAttribute.LocalType, displayNameAttribute.DisplayName);

            configItemPanel.Children.Add(visibilityControl);
        }
Esempio n. 2
0
        public Shell(IConfigController configController, IExporter[] allExporters, ILocalController localController, BuildController buildController)
        {
            var guiStrings = localController.GetLocalStrings<SDGuiStrings>();
            DataContext = new ShellViewModel(guiStrings, configController, buildController, ExecuteOnClose);
            Strings = guiStrings;
            Style = (Style)FindResource("SharpDoxWindowStyle");

            Closing += (sender, args) => ExecuteOnClose();
            SourceInitialized += OnWindowSourceInitialized;

            InitializeComponent();
            svBody.Content = new ConfigGridControl(configController, allExporters, localController, buildController);
        }
Esempio n. 3
0
        public Shell(IConfigController configController, IExporter[] allExporters, ILocalController localController, BuildController buildController)
        {
            var guiStrings = localController.GetLocalStrings <SDGuiStrings>();

            DataContext = new ShellViewModel(guiStrings, configController, buildController, ExecuteOnClose);
            Strings     = guiStrings;
            Style       = (Style)FindResource("SharpDoxWindowStyle");

            Closing           += (sender, args) => ExecuteOnClose();
            SourceInitialized += OnWindowSourceInitialized;

            InitializeComponent();
            svBody.Content = new ConfigGridControl(configController, allExporters, localController, buildController);
        }
Esempio n. 4
0
 public WordExporter(ILocalController localController)
 {
     _localController = localController;
     _wordStrings = _localController.GetLocalStrings<WordStrings>();
 }
 public HtmlExporter(ILocalController localController, HtmlConfig htmlConfig)
 {
     _localController = localController;
     _htmlStrings     = localController.GetLocalStrings <HtmlStrings>();
     _htmlConfig      = htmlConfig;
 }
Esempio n. 6
0
        public HtmlExporter(ILocalController localController, HtmlConfig htmlConfig)
	    {
            _localController = localController;
            _htmlStrings = localController.GetLocalStrings<HtmlStrings>();
            _htmlConfig = htmlConfig;
	    }
Esempio n. 7
0
 public ChmExporter(ChmConfig chmConfig, ILocalController localController)
 {
     _chmConfig = chmConfig;
     _localController = localController;
     _chmStrings = localController.GetLocalStrings<ChmStrings>();
 }
Esempio n. 8
0
 public ChmExporter(ChmConfig chmConfig, ILocalController localController)
 {
     _chmConfig       = chmConfig;
     _localController = localController;
     _chmStrings      = localController.GetLocalStrings <ChmStrings>();
 }
Esempio n. 9
0
 public WordExporter(ILocalController localController)
 {
     _localController = localController;
     _wordStrings     = _localController.GetLocalStrings <WordStrings>();
 }