Squashed 'NHotkey/' content from commit e16cceb
git-subtree-dir: NHotkey git-subtree-split: e16cceb7b3e108413d409dbf355a67835822a5e7
This commit is contained in:
12
NHotkey.WindowsForms/Extensions.cs
Normal file
12
NHotkey.WindowsForms/Extensions.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace NHotkey.WindowsForms
|
||||
{
|
||||
static class Extensions
|
||||
{
|
||||
public static bool HasFlag(this Keys keys, Keys flag)
|
||||
{
|
||||
return (keys & flag) == flag;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user