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