void StartFadeOutAnimation()
 {
     CancelFadeInTimeout();
     if (this.barColorValue == 0.0)
     {
         return;
     }
     fadeInStage.Pause();
     fadeOutStage.AddOrReset(this, FadeDuration);
     fadeOutStage.Play();
 }
Esempio n. 2
0
        private void OnSourceUserNotifyUpdated(object o, EventArgs args)
        {
            ThreadAssist.ProxyToMain(delegate {
                TreeIter iter = store.FindSource((Source)o);
                if (iter.Equals(TreeIter.Zero))
                {
                    return;
                }

                notify_stage.AddOrReset(iter);
            });
        }
 void StartFadeInAnimation()
 {
     fadeOutStage.Pause();
     fadeInStage.AddOrReset(this, FadeDuration);
     fadeInStage.Play();
 }