Exemplo n.º 1
0
        private void CopyWatchesToClipBoard()
        {
            if (SelectedItems.Any())
            {
                var sb = new StringBuilder();
                foreach (var watch in SelectedItems)
                {
                    sb.AppendLine(Watch.ToString(watch, _watches.Domain));
                }

                if (sb.Length > 0)
                {
                    Clipboard.SetDataObject(sb.ToString());
                }
            }
        }