public void loadpoint(String Name, String label, Point pos, double w, double h) { HalfPoint temp = new HalfPoint(pif.content.map); temp.sethalfpoint(w, h, pos.X, pos.Y, Colors.Red); temp.setTextlabel(label); temp.setName(Name); pif.phalfpoint_manager.Add(temp); pif.updateTreeviewPoints(temp.properties.NameObj); }