if (frames < 70) { // set the cursor to the middle of the screen Cursor.Position = new System.Drawing.Point( // Screen.PrimaryScreen gets the primary display Screen.PrimaryScreen.Bounds.Width / 2, Screen.PrimaryScreen.Bounds.Height / 2 ); // increment the number of frames frames++; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)