mnscript
MNGuiFrame Surface.CreateApplicationFrameAsKiosk()
Description ​
Creates an application frame for this program and immediately sets it to be a kiosk frame. ONLY WORKS ON KIOSK TERMINALS I.E ATMs or kiosk screens.
Returns ​
MNGuiFrame
- The MNGuiFrame which was created.
Example ​
msc
using Surface;
using System;
// Creates the application frame.
MNGuiFrame frame = Surface.CreateApplicationFrameAsKiosk();
MNGuiPanel pnl = frame.GetPanel();
// Update to add the new UI to the screen.
Surface.Update();
// Keep the program alive so the UI stays.
while(true){
System.Sleep(1);
}