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