public static BidFilesViewModel instance() { if (_instance == null) { _instance = new BidFilesViewModel(); } return(_instance); }
protected override void load() { EquipmentBidViewModel.instance().reload(); PaymentViewModel.instance().reload(); BidFilesViewModel.instance().reload(); TSObservableCollection <Bid> collection = StangradCRM.Core.Model.load <TSObservableCollection <Bid> >("Bid"); if (collection != default(TSObservableCollection <Bid>)) { collection.ToList().ForEach(x => { x.IsSaved = true; x.loadedItemInitProperty(); add(x); }); } }