I'm a bit confused on exactly how the architecture for a VB.NET forms app actually works.
I've noticed in others' code, lines that read a little like this:
If frmMain.someBooleanProperty Then
but, I'm a bit confused because someBooleanProperty
is then defined as an instance variable (i.e., as Public someBooleanProperty As Boolean
in frmMain
). How is it being referenced statically to access an instance variable? Is this just bad coding practice?