示例#1
0
        private void OnCopy()
        {
            var i = SelectedItem;

            if (i == null)
            {
                return;
            }

            var dic     = Phones.ToDictionary(e => e.Id, e => e);
            var message = string.Format("{0} {1} {2}", i.SeasonSubject, i.PriceText, dic[i.Phones[0]]);

            //InsertToClipBoard();
            User32.SetClipboardText(message);
        }