public void OnSoundFontLoad(object sender, ProgressEventArgs e) { PostMessage(new { cmd = "soundFontLoad", loaded = e.Loaded, total = e.Total }); }
protected virtual void OnSoundFontLoad(ProgressEventArgs e) { EventHandler<ProgressEventArgs> handler = SoundFontLoad; if (handler != null) handler(this, e); }