-1

I've created an app in Visual C# with a Form.

I need that form must be always on top and fullscreen (of course, center). The users must be submit the form to use computer (no Alt+F4, no ALT+TAB).

I tried to set the TopMost property to "True" and I set the form to fullscreen (but the contents remain on the top-left corner, like initial dimensions, and the user can switch between app with keyboard).

Is that possible? Essentially I want a lockscreen.

Thank you!

3

1 Answer 1

2

Regarding disabling Alt+F4: How to Disable Alt + F4 closing form?

Regarding full-screen: How to display a Windows Form in full screen on top of the taskbar?

Alt+Tab (and others): How to Suppress task switch keys (winkey, alt-tab, alt-esc, ctrl-esc) using low-level keyboard hook in c#

Regarding Ctrl + alt + del, it's not possible to disable. However, as stated elsewhere, you may want to consider IE Kiosk mode. https://support.microsoft.com/en-gb/kb/154780

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.