private void TimerTick() { UpdateCheckResult updateCheckResult; try { updateCheckResult = CheckForUpdateAsync().Result; } catch (Exception exception) { Logger.Exception(exception); updateCheckResult = null; } UpdateCheck?.Invoke(this, new UpdateCheckEventArgs(updateCheckResult)); }
private void UpdateMessageBox_YesClicked(XNAMessageBox messageBox) { UpdateCheck?.Invoke(this, EventArgs.Empty); }