Пример #1
0
 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
 }
Пример #2
0
 public void UpdateType(Enums.PkgType pkgType, ListView listView)
 {
     listView.InvokeIfRequired(() => ListViewItem.SubItems[2].Text = pkgType.ToString());
     this.PkgInfo.Type = pkgType;
 }