public ChangeWrapper(SledModifiedProjectChange change)
 {
     Change = change;
 }
            public void Update(SledModifiedProjectChange change)
            {
                Change = change;

                if (Item != null)
                    Item.Text = change.ToString();
            }
        private void ReportNewOrUpdateExistingChange(SledModifiedProjectChange change, ChangeWrapper existing)
        {
            var wrapper = new ChangeWrapper(change) { Category = UserCategory.Pending };

            // Default category

            if (existing == null)
            {
                // Create node representing change
                var lstItem = new ListViewItem(wrapper.Change.ToString()) { Tag = wrapper };

                // Set references
                wrapper.Item = lstItem;

                // Add to list
                m_lstChanges.Items.Add(lstItem);
            }
            else
            {
                // Update existing item
                existing.Update(change);
            }
        }