IPoint p1 = new PointClass();
IPoint p2 = new PointClass();
p1.X = 75;
p1.Y = 5;
p2.X = 75;
p2.Y = 65;
ILine DisplayLine = new LineClass();
DisplayLine.PutCoords(p1, p2);
IPoint pt;
pt = new Point();
pt.x=_x;pt.y =_y;
IMarkerElement pMarkerElement;
pMarkerElement = new MarkerElementClass();
IElement pElement;
pElement = pMarkerElement as IElement;
pElement.Geometry = pt;
pGraphicsContainer = pMap as IGraphicsContainer;
pGraphicsContainer.AddElement((IElement)pMarkerElement, 0);
pActiveView.Refresh();