Пример #1
0
                public bool PasteNotes(long StartTick)
                {
                    bool R = NV.AddNotes(StartTick, PNV);

                    PNV.Clear();
                    if (!R)
                    {
                        return(false);
                    }
                    else
                    {
                        PV.AddPitchs(StartTick, PPV);
                    }
                    return(true);
                }
Пример #2
0
        private void toolStripButton9_Click(object sender, EventArgs e)
        {
            bool R = NV.AddNotes(AV.TickPos, PNV);

            PNV.Clear();
            toolStripButton8.BackColor = System.Drawing.SystemColors.Control;
            if (PNV.Count > 0)
            {
                toolStripButton8.BackColor = System.Drawing.SystemColors.ControlDark;
            }
            if (!R)
            {
                MessageBox.Show("Paste Error");
            }
            else
            {
                PV.AddRealPitchs(AV.TickPos, PPV);
            }
        }
Пример #3
0
                public bool PasteNotes(long StartTick)
                {
                    bool R = NV.AddNotes(StartTick, PNV);

                    PNV.Clear();
                    if (!R)
                    {
                        if (NoteCopyMemoryChanged != null)
                        {
                            NoteCopyMemoryChanged(isCopyed);
                        }
                        return(false);
                    }
                    else
                    {
                        PV.AddRealPitchs(StartTick, PPV);
                        if (NoteCopyMemoryChanged != null)
                        {
                            NoteCopyMemoryChanged(isCopyed);
                        }
                        return(true);
                    }
                }