Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Mobile
  4. Lock program (not closeable)

Lock program (not closeable)

Scheduled Pinned Locked Moved Mobile
hardwaretutorialannouncement
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    haolan
    wrote on last edited by
    #1

    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

    G 1 Reply Last reply
    0
    • H 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

      G Offline
      G Offline
      Giannakakis Kostas
      wrote on last edited by
      #2

      If you are using C# private void Form1_Closing(object sender, EventArgs e) { e.Cancel = true; }

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups