0

I have a PictureBox I want to change it's cursor so am doing the following

picBox.Cursor = new Cursor(@"C:\Users\User\Desktop\crop1.cur");

it throws this exception :

An unhandled exception of type 'System.ArgumentException' occurred in System.Windows.Forms.dll

Additional information: Image format is not valid. The image file may be corrupted.

the file am using : The Cursor.cur

without using P/Invoke ....

Abanoub
  • 3,623
  • 16
  • 66
  • 104

0 Answers0