I am still trying to get my arms around properties and why I should use them more. But I just cannot understand when I should be using properties as opposed to just declaring a 'public shared' variable?
For example, if I am creating an MDI app and I want to store the CustomerID that gets passed between various Customer Detail forms, why not just set the CustomerID variable to the customerid on the MDI parent?
For example, if I am creating an MDI app and I want to store the CustomerID that gets passed between various Customer Detail forms, why not just set the CustomerID variable to the customerid on the MDI parent?