I use notation with one small difference.
Now I am working on a project with a rather rich user interface. Therefore, searching with Intellisense for a button called, say, btnGetUsers is very simple.
Everything becomes more complicated when the application can receive users from different places. These are different controls. So I started calling my controls after where they are, and still use Hungarian notation.
As an example: tabSchedAddSchedTxbAdress means that txbAddress is a text field in which the address can be inserted and located on the Add Schedule tab from the planning tab control. This way, I can easily find the controls, and when I just type “btn”, I don’t get several buttons from all over the interface.
Of course, this is only to help yourself. I do not know such a best practice. However, this helps a lot.
Mosu
mosu Nov 10 '09 at 17:26 2009-11-10 17:26
source share