Example #1
0
        private void TimerTick()
        {
            UpdateCheckResult updateCheckResult;

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