using System; namespace PIANO2.Message { public class PianoKeyEventArgs : EventArgs { private int noteID; private int octaveID; private String noteName; public PianoKeyEventArgs(int noteID, String noteName, int OctaveID) { this.noteID = noteID; this.noteName = noteName; this.octaveID = OctaveID; } public int NoteID { get { return noteID; } } public String NoteName { get { return noteName; } } public int OctaveID { get { return octaveID; } } } }