Beispiel #1
0
        private void OnServiceProgressChangedEvent(object state)
        {
            EventHandler <OnProgressChangedEventArgs> handler = ServiceOnProgressChangedEvent;
            OnProgressChangedEventArgs e = state as OnProgressChangedEventArgs;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Beispiel #2
0
 private void EyeshotServiceOnOnProgressChangedEvent(object sender, OnProgressChangedEventArgs e)
 {
     ProgressBarUpdate(progressBarOperations, e.Message, e.Percent, 100);
 }