internal void loadData(Poi poi) { if (poi.isDataFree()) this.poiMapperHdd.loadData(poi, getPoiSubDir(poi, this.currentNamedArea)); }
public void preview(Poi poi) { cleanPreview(); if (poi.isMediaFree() || poi.isDataFree()) this.poiRepository.load(poi); this.currentPoi = poi; this.freeY = FREE_Y_DEFAULT; updatePreview(); this.tabControl.SelectedIndex = 1; //if (!this.Visible) this.Visible = true; }
internal void put(Poi p, NamedArea namedArea) { if (this.pois == null) { this.pois = new List<Poi>(); } if (!p.isDataFree()) { this.poiMapperHdd.save(p, getPoiSubDir(p, namedArea)); p.free(); //if (!this.pois.Contains(p)) //{ this.pois.Add(p); //} } }