public BridgeSettingsViewModel() { _generalModel = new BridgeSettingsGeneralModel(); _networkModel = new BridgeSettingsNetworkModel(); _portalModel = new BridgeSettingsPortalModel(); _softwareModel = new BridgeSettingsSoftwareModel(); }
public BridgeSettingsViewModel() { _generalModel = new BridgeSettingsGeneralModel(); _networkModel = new BridgeSettingsNetworkModel(); _portalModel = new BridgeSettingsPortalModel(); _softwareModel = new BridgeSettingsSoftwareModel(); _updateTimer = new DispatcherTimer() { Interval = new TimeSpan(0, 0, 180) }; _updateProgressTimer = new DispatcherTimer() { Interval = new TimeSpan(0, 0, 1) }; _updateProgressTimer.Tick += _updateProgressTimer_Tick; _updateTimer.Tick += _updateTimer_Tick; UpdateProgress = 0; CanClose = true; }