Example #1
0
        private void copySelectedToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (lstSystem.SelectedItems.Count == 0)
            {
                return;
            }

            string output = string.Empty;

            foreach (ListViewItem lvi in lstSystem.SelectedItems)
            {
                output = lvi.SubItems.Cast <ListViewItem.ListViewSubItem>().Aggregate(output, (current, lvs) => current + (lvs.Text + " : "));
                output = output.Remove(output.Length - 3);
                output = output + "\r\n";
            }

            PanoYardımcısı.SetClipboardText(output);
        }
Example #2
0
        private void copySelectedToolStripMenuItem_Click(object sender, EventArgs e)
        {
            StringBuilder sb = GetLoginData(true);

            PanoYardımcısı.SetClipboardText(sb.ToString());
        }
Example #3
0
        private void copyAllToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var sb = GetLoginData();

            PanoYardımcısı.SetClipboardText(sb.ToString());
        }