CheckedListBox Insert Item / 取回 Item / 檢查 Checked 左咩野 Item

 

   CheckedListBox Insert Item
 
   CheckedListBox1.Items.Add(index.ToString)
 

 

   CheckedListBox 取回 Item
 
   Label1.Text = CheckedListBox1.Items(0).ToString
   Label2.Text = CheckedListBox1.Items(1).ToString
   Label3.Text = CheckedListBox1.Items(2).ToString
 
   CheckedListBox 上有幾多件 Item
   CheckedListBox1.Items.Count
 

 

   CheckedListBox 檢查 Checked 左咩野 Item
 
   Label1.Text = CheckedListBox1.CheckedItems(0).ToString
   Label2.Text = CheckedListBox1.CheckedItems(1).ToString
   Label3.Text = CheckedListBox1.CheckedItems(2).ToString
 
   CheckedListBox 上 Checked 左幾多件 Item
   CheckedListBox1.CheckedItems.Count