R
rainnie1314
Guest
ShapeContainer canvas = new ShapeContainer();
LineShape theLine = new LineShape();
canvas.Parent = this.mainArea;
theLine.Parent = canvas;
theLine.ContextMenuStrip = contextMenuStrip2;
theLine.StartPoint = new System.Drawing.Point(m_ptStart.X, m_ptStart.Y);
theLine.EndPoint = new System.Drawing.Point(m_ptEnd.X, m_ptEnd.Y);
thankyou everyone, i can use the Lineshape to get a line, but now i need to get a line with line caps at the endpoint, can somebody tell me how to do it ? (forget about using c#~~~~)
many thanks
Continue reading...
LineShape theLine = new LineShape();
canvas.Parent = this.mainArea;
theLine.Parent = canvas;
theLine.ContextMenuStrip = contextMenuStrip2;
theLine.StartPoint = new System.Drawing.Point(m_ptStart.X, m_ptStart.Y);
theLine.EndPoint = new System.Drawing.Point(m_ptEnd.X, m_ptEnd.Y);
thankyou everyone, i can use the Lineshape to get a line, but now i need to get a line with line caps at the endpoint, can somebody tell me how to do it ? (forget about using c#~~~~)
many thanks
Continue reading...