コード例 #1
0
        public void pianoKeyDown(int xKey)
        {
            string send = NoteInput.input(xKey);

            if (editSingleNote)
            {
                inputMainMelodyChange(singleNoteId, send);
                editSingleNote = false;
            }
            else
            {
                this.textBlock_main.Text += send;
                addMelody(send.Trim());//加一个音
            }
            keyDown(send);
        }
コード例 #2
0
        public void pianoKeyUp(int xKey)
        {
            string send = NoteInput.input(xKey);

            send.Substring(0, send.Length - 1);
        }