Esempio n. 1
0
 private void BT_all_Click(object sender, EventArgs e)
 {
     for (int i = 0; i < CLB_changjia.Items.Count; i++)
     {
         CLB_changjia.SetItemChecked(i, true);
     }
 }
Esempio n. 2
0
 private void BT_over_Click(object sender, EventArgs e)
 {
     for (int i = 0; i < CLB_changjia.Items.Count; i++)
     {
         if (CLB_changjia.GetItemChecked(i))
         {
             CLB_changjia.SetItemChecked(i, false);
         }
         else
         {
             CLB_changjia.SetItemChecked(i, true);
         }
     }
 }