/// <summary>Check if Seven Update is still trying to connect to <c>WcfService</c>.</summary> /// <param name="sender">The object that called the event.</param> /// <param name="e">The <c>System.Timers.ElapsedEventArgs</c> instance containing the event data.</param> void CheckIfConnecting(object sender, ElapsedEventArgs e) { this.timer.Enabled = false; this.timer.Stop(); if (Core.Instance.UpdateAction != UpdateAction.ConnectingToService) { return; } WcfService.AdminError(new Exception(Properties.Resources.CouldNotConnectService)); }