+ 1
Can anyone refer me to a code so I can learn to use Clipboard class on C# please?
I need to paste on a checklistBox and I have no idea how to to that
10 Réponses
+ 3
Okay, create a text box where the user will type the item, then a button that will do the next:
checkedListBox1.Items.Insert(lastPlace + 1, new ListBoxItem("text", "value"));
+ 1
Google is not really helpful when it comes about working on checkListBox y'know
+ 1
Oh, you want to duplicate a checklist box?
+ 1
I need to paste numbers from clipboard like this
12344612
17273721
17273717
ordered on the checklistBox
+ 1
So you want the user to be able to paste items into the checklist?
+ 1
that's exactly what I'm talking about
+ 1
okay I'll try it right now!
0
Simply check out on Google - C# Clipboard
0
Hey! If it did help mark my answer as best, else tell me what's wrong
0
Clipboard.GetText(); wil give you the tekst on the clipboard.
Events like KeyDown and MouseDown will tell you when the user approaches the checkedlistbox.