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