Move HotkeyForm to HelpersLib

This commit is contained in:
Jaex 2017-11-19 21:26:01 +03:00
parent 68b62f7bde
commit b5cfbc61fc
3 changed files with 6 additions and 7 deletions

View file

@ -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()

View file

@ -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" />

View file

@ -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>