コード例 #1
0
        public GeneralSettingsControl(ILiteExtensionHost host, MuiProcessor muiProcessor, DebuggerBaseSettings settings)
        {
            InitializeComponent();
            _host = host;
            _muiProcessor = muiProcessor;
            _settings = settings;

            _componentMuiIdentifiers = new Dictionary<object, string>()
            {
                {breakOnHandledExceptionCheckBox, "GeneralSettingsControl.BreakOnHandledException"},
                {evaluationCheckBox, "GeneralSettingsControl.EnableFunctionEvaluation"},
            };

            host.UILanguageChanged += host_UILanguageChanged;
            host_UILanguageChanged(null, null);
        }
コード例 #2
0
        public GeneralSettingsControl(ILiteExtensionHost host, MuiProcessor muiProcessor, DebuggerBaseSettings settings)
        {
            InitializeComponent();
            _host         = host;
            _muiProcessor = muiProcessor;
            _settings     = settings;

            _componentMuiIdentifiers = new Dictionary <object, string>()
            {
                { breakOnHandledExceptionCheckBox, "GeneralSettingsControl.BreakOnHandledException" },
                { evaluationCheckBox, "GeneralSettingsControl.EnableFunctionEvaluation" },
            };

            host.UILanguageChanged += host_UILanguageChanged;
            host_UILanguageChanged(null, null);
        }