protected virtual void OnReadyForPlay() { EventHandler handler = ReadyForPlay; if (handler != null) handler(this, EmptyEventArgs.Instance); }