コード例 #1
0
        public void Load(SettingsStorage storage)
        {
            _suspendChangedEvent = true;

            RemoveControls();
            storage.LoadUISettings(DockSite, _contents);

            _suspendChangedEvent = false;
        }
コード例 #2
0
        void IPersistable.Load(SettingsStorage settings)
        {
            _suspendChangedEvent = true;

            RemoveControls();

            settings.LoadUISettings(DockSite, new PairSet <Tuple <string, Type>, IContentWindow>());

            var emulationService = settings.GetValue <SettingsStorage>("EmulationService");

            if (emulationService != null && EmulationService != null)
            {
                EmulationService.Load(emulationService);
            }

            _suspendChangedEvent = false;
        }
コード例 #3
0
		public void Load(SettingsStorage storage)
		{
			_suspendChangedEvent = true;

			RemoveControls();
			storage.LoadUISettings(DockSite, _contents);

			_suspendChangedEvent = false;
		}