public static PianoKey Create(string code) { var key = new PianoKey(); key.SetKey(code); return(key); }
public static PianoKey Create127(int code) { var key = new PianoKey(); key.SetKeyBy127(code); return(key); }