public void ConstructMouseDown(IMapDocument doc, System.Windows.Forms.MouseEventArgs e) { if (ActiveDisplay(doc) == null) { return; } Freehand element = new Freehand(); _addContainer = new GraphicsContainer(); _addContainer.Elements.Add(element); _mousePressed = true; double x = e.X; double y = e.Y; ActiveDisplay(doc).Image2World(ref x, ref y); element.AddPoint(x, y); }