G
Guest
Why do I get a warning:
Access of shared member, constant member, enum member or nested type through
an instance; qualifying expression will not be evaluated
When accessing a shared method in the framework. (for example)
If Control.MouseButtons = MouseButtons.None Then....
What is the point of includes if they don't prevent this type of warning?
Will I always need to explicitly specify the name space?
If Control.MouseButtons = Windows.Forms.MouseButtons.None Then .....
Thanks for any insight into this!
Access of shared member, constant member, enum member or nested type through
an instance; qualifying expression will not be evaluated
When accessing a shared method in the framework. (for example)
If Control.MouseButtons = MouseButtons.None Then....
What is the point of includes if they don't prevent this type of warning?
Will I always need to explicitly specify the name space?
If Control.MouseButtons = Windows.Forms.MouseButtons.None Then .....
Thanks for any insight into this!