-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!

mybirthname
  • 17,949
  • 3
  • 31
  • 55
DearS
  • 182
  • 2
  • 11

1 Answers1

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

Community
  • 1
  • 1