public void OnSoundFontLoad(object sender, ProgressEventArgs e) { PostMessage(new { cmd = "soundFontLoad", loaded = e.Loaded, total = e.Total }); }