Beispiel #1
0
        protected virtual void OnVersionUpdate(VersionEventArgs e)
        {
            EventHandler <VersionEventArgs> handler = VersionUpdate;

            if (handler != null)
            {
                handler(this, e);
            }
        }
 protected virtual void OnVersionUpdate(VersionEventArgs e)
 {
     AxCryptUpdate?.Invoke(this, e);
 }
 private void HandleVersionUpdateEvent(object sender, VersionEventArgs e)
 {
     Settings.Default.LastUpdateCheckUtc = OS.Current.UtcNow;
     Settings.Default.NewestKnownVersion = e.Version.ToString();
     Settings.Default.Save();
     _updateUrl = e.UpdateWebpageUrl;
     ThreadSafeUi(() =>
     {
         UpdateVersionStatus(e.VersionUpdateStatus, e.Version);
     });
 }