How do I allow the user to multi-check with the CheckedListBox through the 'shift' key?

后端 未结 7 1742
再見小時候
再見小時候 2020-12-30 08:41

Say that I have a CheckedListBox with items \"1\", \"2\", \"3\", \"4\", and \"5\" in that order and I want to select \"2\", \"3\", and \"4\" by selecting \"2\" then holding

7条回答
  •  悲&欢浪女
    2020-12-30 09:19

     private System.Windows.Forms.CheckedListBox LBO1;
    
     string mySentLst = string.Join(";", LBO1.CheckedItems.Cast());
    

提交回复
热议问题