private void updateItems() { TBXMappingList items = new TBXMappingList(); for (int i = 0; i < lb_tbx_dcs.Items.Count; i++) { items.Add((lb_tbx_dcs.Items[i] as ListBoxItem).Content.ToString()); } ListBoxItems(items); }
public MappingDict setTBXMappingList(string key, TBXMappingList value = null) { if (ContainsKey(key)) { this[key][0] = (value != null) ? value : new TBXMappingList(); } else { Add(key); } return(this); }
private void setMapping(TBXMappingList datcat_tbx) { mapping.setTBXMappingList(datcats[index], datcat_tbx); updatePercentage(); }