There is an application with full functionality. This application is for one type of user. They can edit / delete / add. But there are other users who can not do this.
Which way to go, that would not create several similar applications, but with slight differences in functionality?
In Delphi, I used this approach.
#IFDEF DISPATCHER ... #ENDIF #IFDEF VIEWER ... #ENDIF In VisualStudio for some reason
#if DEBUG // Работает #endif #if RELEASE // Не работает #endif 