Esempio n. 1
0
 internal void loadData(Poi poi)
 {
     if (poi.isDataFree())
     {
         this.poiMapperHdd.loadData(poi, getPoiSubDir(poi, this.currentNamedArea));
     }
 }
Esempio n. 2
0
 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;
 }
Esempio n. 3
0
 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);
         //}
     }
 }