コード例 #1
0
 public bool[] GetChecks()
 {
     bool[] checks = new bool[AddressesCheckedListBox.Items.Count];
     for (int inx = 0; inx < AddressesCheckedListBox.Items.Count; inx++)
     {
         checks[inx] = AddressesCheckedListBox.GetItemChecked(inx);
     }
     return(checks);
 }
コード例 #2
0
 public void AddAddress(string address)
 {
     AddressesCheckedListBox.Items.Add(address);
     AddressesCheckedListBox.SetItemChecked(
         AddressesCheckedListBox.Items.Count - 1, true);
 }