.net - How to make form system modal using C#? -
I need to show the form as a top-level system wide, e.g. On screen / all / other window I know this is usually a bad UI practice, but I have a very specific scenario in my mind.
We want to use a normal Windows PC for POS cash registrar. There is an option on the screen to open the cash drawer, for someone to press something on the screen and not looking for the clerk, it would be very bad for anyone to use the money. Therefore, we have prepared PCs with RFID Reader and each clerk has its own RFID card which will be used for authentication.
Although I need a mechanism to lock the computer (or waste it) when the clerk is removed
LP, Degene
Any ideas welcome. Itemprop = "text">
After a day of good, lawsuit and error, I came to the solution.
This includes the following steps:
1. When the "lock" button is pressed, the new (empty) / desktop / is created program is run in this desktop with full screen form and login process. There is nothing else to switch to or run on this desktop.
2 The task manager is disabled by the registry. Undoubtedly, anyone can press the Ctrl-Alt-Delete menu without pressing it, but there is no special disadvantage that he can do .
3. Alt-F4 and such are disabled.
4. When authentication is done, the program goes back to the original desktop and normally receives all the proceeds.
Some P / Essential Requirements, of course. If someone wants to do something like that, then maybe he will be useful to my bare bones -
LP, Dejan
Comments
Post a Comment