private void Reset() { _message.MappingList.Clear(); List <XIMMappingItem> list = XIMHelper.GetRequestMessage <XIMMappingItem>(); foreach (XIMMappingItem item in list) { _message.MappingList.Add(item); } _listViewCtrl.RefreshList(list); RefreshButtons(); }
private void buttonRefresh_Click(object sender, EventArgs e) { _listViewCtrl.RefreshList(XIMHelper.GetRequestMessage <XmlElementItem>()); }