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); }
public void AddAddress(string address) { AddressesCheckedListBox.Items.Add(address); AddressesCheckedListBox.SetItemChecked( AddressesCheckedListBox.Items.Count - 1, true); }