示例#1
0
 private void BtnStartKiosk_Click(object sender, EventArgs e)
 {
     BtnEndKiosk.Enabled   = true;
     BtnStartKiosk.Enabled = false;
     KioskModeAPI.StartKioskMode(AllowedKeys, EscapeKeys, Handle);
 }
示例#2
0
 private void BtnEndKiosk_Click(object sender, EventArgs e)
 {
     BtnStartKiosk.Enabled = true;
     BtnEndKiosk.Enabled   = false;
     KioskModeAPI.EndKioskMode(Handle);
 }
示例#3
0
 public Form1()
 {
     InitializeComponent();
     BtnEndKiosk.Enabled = false;
     KioskModeAPI.AddOnKioskExitEventHandler(OnKioskExitEvent);//Send to the DLL the Address of the Method
 }