예제 #1
0
 private void copy_Click(object sender, EventArgs e)
 {
     if (MouseDownSSC == null)
     {
         return;
     }
     copiedSSC = MouseDownSSC.Copy();
 }
예제 #2
0
        private void duplicate_Click(object sender, EventArgs e)
        {
            if (MouseDownSSC == null)
            {
                return;
            }
            Command        copiedSSC = MouseDownSSC.Copy();
            List <Command> channel   = SPC.Channels[MouseDownSSC.Channel];

            channel.Insert(MouseDownSSC.Index + 1, copiedSSC);
            MouseDownSSC = copiedSSC;
            SPC.CreateNotes();
            ReadFromCommand();
            picture.Invalidate();
            scoreViewerPicture.Invalidate();
        }