public override void Play(MidiPlayerViewModel owner) { sequencer.Continue(); owner.Running = true; owner.UpdateButtons(); OwnEventmanager.Manager.DispatchEvent("changeEditorState", "Playing"); OwnEventmanager.Manager.DispatchEvent("changeInformativeText", showText); }
public override void Pause(MidiPlayerViewModel owner) { owner.Running = false; sequencer.Stop(); owner.UpdateButtons(); OwnEventmanager.Manager.DispatchEvent("changeInformativeText", showText); OwnEventmanager.Manager.DispatchEvent("changeEditorState", "Idle"); }