Esempio n. 1
0
        private void RaiseUpdateEvent(ProductUpdateAvailableEventArgs args)
        {
            EventHandler <ProductUpdateAvailableEventArgs> handler = UpdateAvailable;

            if (handler != null)
            {
                handler(this, args);
            }
        }
 private void RaiseUpdateEvent(ProductUpdateAvailableEventArgs args)
 {
     UpdateAvailable(this, args);
 }
Esempio n. 3
0
 private void OnUpdateAvailable(object sender, ProductUpdateAvailableEventArgs e)
 {
     // this event handler will be invoked on background thread. Has to use Dispatcher to show update bar.
     Dispatcher.BeginInvoke(new Action<Version, Version>(ShowUpdateBar), e.CurrentVersion, e.NewVersion);
 }
 private void OnUpdateAvailable(object sender, ProductUpdateAvailableEventArgs e)
 {
     // this event handler will be invoked on background thread. Has to use Dispatcher to show update bar.
     Dispatcher.BeginInvoke(new Action <Version, Version>(ShowUpdateBar), e.CurrentVersion, e.NewVersion);
 }
Esempio n. 5
0
 private void RaiseUpdateEvent(ProductUpdateAvailableEventArgs args)
 {
     UpdateAvailable(this, args);
 }
Esempio n. 6
0
 private void RaiseUpdateEvent(ProductUpdateAvailableEventArgs args)
 {
     EventHandler<ProductUpdateAvailableEventArgs> handler = UpdateAvailable;
     if (handler != null) {
         handler(this, args);
     }
 }