Skip to content
This repository has been archived by the owner on Jan 15, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkol committed Jul 22, 2021
1 parent 6bedf41 commit 1f9d606
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public bool HandleKey(IntPtr hWnd, object param)

/// <summary>Determines whether the specified keyboard input should be allowed to be processed by the system.</summary>
/// <remarks>Helps block unwanted keys and key combinations that could exit the app, make system changes, etc.</remarks>
private bool AllowKeyboardInput(bool alt, bool control, Keys key)
protected virtual bool AllowKeyboardInput(bool alt, bool control, Keys key)
{
if (_options.KioskMode)
{
Expand All @@ -71,7 +71,7 @@ private bool AllowKeyboardInput(bool alt, bool control, Keys key)

#region

private bool AllowKeyboardInputForKioskMode(bool alt, bool control, Keys key)
protected virtual bool AllowKeyboardInputForKioskMode(bool alt, bool control, Keys key)
{
if (!_options.KioskMode)
{
Expand Down Expand Up @@ -114,7 +114,7 @@ private bool AllowKeyboardInputForKioskMode(bool alt, bool control, Keys key)
#endregion
}

internal class KeyboardParam
public class KeyboardParam
{
public KeyboardParam(bool isKeyUp, bool alt, bool control, Keys key)
{
Expand Down

0 comments on commit 1f9d606

Please sign in to comment.