예제 #1
0
 protected virtual void Dispose(bool disposing)
 {
     if (!this.disposed)
     {
         MidiInterop.midiOutClose(this.hMidiOut);
     }
     this.disposed = true;
 }
예제 #2
0
 /// <summary>
 /// Closes the MIDI out device
 /// </summary>
 /// <param name="disposing">True if called from Dispose</param>
 protected virtual void Dispose(bool disposing)
 {
     if (!disposed)
     {
         //if(disposing) Components.Dispose();
         MidiInterop.midiOutClose(hMidiOut);
     }
     disposed = true;
 }