Hi ...
I want to know the name of the event that occurs when Mose moves and clicks continuously ... Like the event which draw Lines in Paint ...
Hi ...
I want to know the name of the event that occurs when Mose moves and clicks continuously ... Like the event which draw Lines in Paint ...
It is MouseMove
event, but you need to check arguments for pressed buttons:
void OnMouseMove(object sender, MouseEventArgs e)
{
if(e.Button == System.Windows.Forms.MouseButtons.Left)
{
/* this is it */
}
}