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(); } }
private void OnCalloutHiding(object sender, CalloutEventArgs e) { Hiding?.Invoke(this, e); }