mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-30 01:07:21 +13:00
Move HotkeyForm to HelpersLib
This commit is contained in:
parent
68b62f7bde
commit
b5cfbc61fc
3 changed files with 6 additions and 7 deletions
|
@ -23,20 +23,19 @@ You should have received a copy of the GNU General Public License
|
|||
|
||||
#endregion License Information (GPL v3)
|
||||
|
||||
using ShareX.HelpersLib;
|
||||
using System.Diagnostics;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace ShareX
|
||||
namespace ShareX.HelpersLib
|
||||
{
|
||||
public class HotkeyForm : Form
|
||||
{
|
||||
public int HotkeyRepeatLimit { get; set; }
|
||||
|
||||
public delegate void HotkeyEventHandler(ushort id, Keys key, Modifiers modifier);
|
||||
|
||||
public event HotkeyEventHandler HotkeyPress;
|
||||
|
||||
public int HotkeyRepeatLimit { get; set; }
|
||||
|
||||
private Stopwatch repeatLimitTimer;
|
||||
|
||||
public HotkeyForm()
|
|
@ -126,6 +126,9 @@
|
|||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Helpers\JsonHelpers.cs" />
|
||||
<Compile Include="Input\HotkeyForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Input\HotkeyInfo.cs" />
|
||||
<Compile Include="Input\KeyboardHook.cs" />
|
||||
<Compile Include="NameParser\CodeMenuEntryActions.cs" />
|
||||
|
|
|
@ -299,9 +299,6 @@
|
|||
<Compile Include="HotkeysConfig.cs" />
|
||||
<Compile Include="HotkeyManager.cs" />
|
||||
<Compile Include="HotkeySettings.cs" />
|
||||
<Compile Include="Forms\HotkeyForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Controls\HotkeySelectionControl.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
|
|
Loading…
Reference in a new issue