コード例 #1
0
 public MidiMonitorWindow(MidiPlayer mp)
 {
     MidiPlayer = mp;
     InitializeComponent();
     _timer.Tick     += (sender, args) => OnPropertyChanged("MidiPlayer");
     _timer.IsEnabled = true;
 }
コード例 #2
0
 public MidiMonitorWindow(MidiPlayer mp)
 {
     MidiPlayer = mp;
     InitializeComponent();
     _timer.Tick += (sender, args) => OnPropertyChanged("MidiPlayer");
     _timer.IsEnabled = true;
 }
コード例 #3
0
 public void Init(IExtensionAccess contract)
 {
     _access = contract;
     _midiPlayer = new MidiPlayer();
     _access.PlaybackManagerInstance.RegisterAudioPlayer(_midiPlayer.Extensions, _midiPlayer);
 }
コード例 #4
0
 public void Init(IExtensionAccess contract)
 {
     _access     = contract;
     _midiPlayer = new MidiPlayer();
     _access.PlaybackManagerInstance.RegisterAudioPlayer(_midiPlayer.Extensions, _midiPlayer);
 }