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