Lock program (not closeable)
-
Hi there. Can anyone tell me how to lock my program, so it cant be closed og minimized in any way, not even with hardware buttons. My program requires two files, an update program and the application itself. Those two program should be the only two programs that should be able to run at my devices. It is a kind of a kiosk mode i need. I have tried a few kiosk programs, but they always contains a menu, so my app can be closed to the menu window, which it may not do. If i can lock the OK button (because this button closes my program somehow) in any way at my app, these kiosk program are fine for me.. I hope you understand what i need, i am not english, so i guess my language may be a little bad.. :) have a nice day.. Haolan
-
Hi there. Can anyone tell me how to lock my program, so it cant be closed og minimized in any way, not even with hardware buttons. My program requires two files, an update program and the application itself. Those two program should be the only two programs that should be able to run at my devices. It is a kind of a kiosk mode i need. I have tried a few kiosk programs, but they always contains a menu, so my app can be closed to the menu window, which it may not do. If i can lock the OK button (because this button closes my program somehow) in any way at my app, these kiosk program are fine for me.. I hope you understand what i need, i am not english, so i guess my language may be a little bad.. :) have a nice day.. Haolan
If you are using C#
private void Form1_Closing(object sender, EventArgs e) { e.Cancel = true; }