D
dm1608
I'm opening my own form and doing something like:
If dlgDirectory.ShowDialog() = DialogResult.OK Then
....
End If
When I compile the project, I can a warning for the line saying:
Access of shared member, constant member, enum member or nested type through
an instance; qualifying expression will not be evaluated.
It looks like it has something to do with DialogResult.OK, however I've seen
other code do the same thing.
What am I doing wrong?
If dlgDirectory.ShowDialog() = DialogResult.OK Then
....
End If
When I compile the project, I can a warning for the line saying:
Access of shared member, constant member, enum member or nested type through
an instance; qualifying expression will not be evaluated.
It looks like it has something to do with DialogResult.OK, however I've seen
other code do the same thing.
What am I doing wrong?