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); }
private void copySelectedToolStripMenuItem_Click(object sender, EventArgs e) { StringBuilder sb = GetLoginData(true); PanoYardımcısı.SetClipboardText(sb.ToString()); }
private void copyAllToolStripMenuItem_Click(object sender, EventArgs e) { var sb = GetLoginData(); PanoYardımcısı.SetClipboardText(sb.ToString()); }