예제 #1
0
        private void OnCalloutManagerRegistered(object sender, CalloutEventArgs e)
        {
            if (Id.HasValue &&
                e.Callout.Id == Id.Value)
            {
                Start = DateTime.Now;
            }
            else if (!string.IsNullOrEmpty(Name) &&
                     e.Callout.Name == Name)
            {
                Start = DateTime.Now;
            }

            if (Start != DateTime.MaxValue)
            {
                ScheduleShow();
            }
        }
예제 #2
0
 private void OnCalloutHiding(object sender, CalloutEventArgs e)
 {
     Hiding?.Invoke(this, e);
 }