private void DrawLineInRichtextbox(RichTextBox rtb, Point p1) { Pen pen = new Pen(Color.Black); Graphics graphics; graphics = richTextBox2.CreateGraphics(); graphics.DrawLine(pen, p1.X, p1.Y, rtb.Width, p1.Y); pen.Dispose(); graphics.Dispose(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)