/// <summary> /// Загрузить настройки. /// </summary> /// <param name="storage">Хранилище настроек.</param> public void Load(SettingsStorage storage) { var settings = storage.GetValue <SettingsStorage>("LogControl"); if (settings != null) { LogCtrl.Load(settings); } }
void IPersistable.Load(SettingsStorage storage) { LogCtrl.Load(storage); }