I am currently working on an application, and one of its features uses the following code: private
{
if (e.Button == MouseButtons.Left)
{
System.Drawing.Pen myPen;
myPen = new System.Drawing.Pen(System.Drawing.Color.Red, 3);
System.Drawing.Graphics formGraphics = this.CreateGraphics();
formGraphics.DrawRectangle(myPen, e.X, e.Y, 1, 1);
myPen.Dispose();
formGraphics.Dispose();
}
else
{}
}
I am having a problem in that when the user drags the mouse too fast, it leaves gaps in what should be a complete line. If anyone has a solution I would be very grateful.
Thanks in advance
Angus Higgins
Thread Closed
This thread is kinda stale and has been closed but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.