private void MarkItemAs(Enums.PkgType pkgType, ListView listView) { ChangeItemStatus(q => { q.UpdateType(pkgType, listView); }); ps4PkgList.Sort(); //Re-sort so items get pushed to their specifiic order }
public void UpdateType(Enums.PkgType pkgType, ListView listView) { listView.InvokeIfRequired(() => ListViewItem.SubItems[2].Text = pkgType.ToString()); this.PkgInfo.Type = pkgType; }