예제 #1
0
        private bool Copy()
        {
            var sbl = BlockList.GetSelectedBlockList();

            IBlock[] blocks = sbl.SelectedBlocks;
            if (blocks.Length == 0)
            {
                System.Media.SystemSounds.Beep.Play();
                return(false);
            }

            Clipboard.SetText(BlockManager.ToString(blocks));
            return(true);
        }