Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

BC42025 warning with "Cursor.Current = Cursors.WaitCursor"

I’m getting this warning BC42025 when I use Cursor.Current = Cursors.WaitCursor, what should I use instead? I don’t want to ignore this warning.

Warning BC4025:
"Severity Code Description Project File Line Suppression Status
Warning BC42025 Shared member, constant member, enum member, or nested type access through an instance; the qualifying expression will not be evaluated."

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

use

Imports System.Windows.Forms

that has cursor as object

Of course you can also qualify your cursor directly with

System.Windows.Forms.Cursor.Current 
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading