diff --git a/.build/build.ps1 b/.build/build.ps1 index 977c60b..96bdaaf 100644 --- a/.build/build.ps1 +++ b/.build/build.ps1 @@ -2,7 +2,8 @@ $PSake.use_exit_on_error = $true $Here = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" -$SolutionRoot = (Split-Path -parent $Here) +$RepoRoot = $(Split-Path -parent $Here) +$SolutionRoot = "$RepoRoot\src" $ProjectName = "EventHook" $GitHubProjectName = "Windows-User-Action-Hook" @@ -26,7 +27,7 @@ if(!$Branch) { $Branch = "local" } if($Branch -eq "beta" ) { $Version = "$Version-beta" } -$NuGet = Join-Path $SolutionRoot ".nuget\nuget.exe" +$NuGet = Join-Path $RepoRoot ".nuget\nuget.exe" $MSBuild = "${env:ProgramFiles(x86)}\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\msbuild.exe" $MSBuild -replace ' ', '` ' @@ -65,12 +66,13 @@ Task Document -depends Build { if($Branch -eq "master") { + #use docfx to generate API documentation from source metadata docfx docfx.json #patch index.json so that it is always sorted #otherwise git will think file was changed - $IndexJsonFile = "$SolutionRoot\docs\index.json" + $IndexJsonFile = "$RepoRoot\docs\index.json" $unsorted = Get-Content $IndexJsonFile | Out-String [Reflection.Assembly]::LoadFile("$Here\lib\Newtonsoft.Json.dll") [System.Reflection.Assembly]::LoadWithPartialName("System") @@ -79,7 +81,7 @@ Task Document -depends Build { Set-Content -Path $IndexJsonFile -Value $obj #setup clone directory - $TEMP_REPO_DIR =(Split-Path -parent $SolutionRoot) + "\temp-repo-clone" + $TEMP_REPO_DIR =(Split-Path -parent $RepoRoot) + "\temp-repo-clone" If(test-path $TEMP_REPO_DIR) { @@ -101,7 +103,7 @@ Task Document -depends Build { cd "$TEMP_REPO_DIR\docs" #copy docs to clone directory\docs - Copy-Item -Path "$SolutionRoot\docs\*" -Destination "$TEMP_REPO_DIR\docs" -Recurse -Force + Copy-Item -Path "$RepoRoot\docs\*" -Destination "$TEMP_REPO_DIR\docs" -Recurse -Force #push changes to master git config --global credential.helper store @@ -119,5 +121,6 @@ Task Document -depends Build { #package nuget files Task Package -depends Document { - exec { . $NuGet pack "$SolutionRoot\$ProjectName\$ProjectName.nuspec" -Properties Configuration=$Configuration -OutputDirectory "$SolutionRoot" -Version "$Version" } + exec { . $NuGet pack "$SolutionRoot\$ProjectName\$ProjectName.nuspec" -Properties Configuration=$Configuration -OutputDirectory "$RepoRoot" -Version "$Version" } } + diff --git a/.build/docfx.json b/.build/docfx.json index 2b888b5..bfe6692 100644 --- a/.build/docfx.json +++ b/.build/docfx.json @@ -4,7 +4,7 @@ "src": [ { "files": [ "EventHook.Docs.sln"], - "src": "../" + "src": "../src/" } ], "dest": "obj/api" diff --git a/.build/setup.ps1 b/.build/setup.ps1 index e07a784..fb450a2 100644 --- a/.build/setup.ps1 +++ b/.build/setup.ps1 @@ -6,7 +6,7 @@ param ( function Install-Chocolatey() { - if(-not $env:ChocolateyInstall -or -not (Test-Path "$env:ChocolateyInstall")) + if(-not $env:ChocolateyInstall -or -not (Test-Path "$env:ChocolateyInstall\*")) { Write-Output "Chocolatey Not Found, Installing..." iex ((new-object net.webclient).DownloadString('http://chocolatey.org/install.ps1')) @@ -36,7 +36,7 @@ function Install-DocFx() { if(!(Test-Path $env:ChocolateyInstall\lib\docfx\tools*)) { - choco install docfx + choco install docfx --version 2.40.1 } $env:Path += ";$env:ChocolateyInstall\lib\docfx\tools" } diff --git a/README.md b/README.md index 49fe370..d723a56 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Kindly report only issues/bugs here . For programming help or questions use [Sta * [API Documentation](https://justcoding121.github.io/Windows-User-Action-Hook/api/EventHook.html) -## Supported Events +### Supported Events * Keyboard events * Mouse events @@ -16,13 +16,17 @@ Kindly report only issues/bugs here . For programming help or questions use [Sta * application events * print events -## Usage +### Development enviroment + +* Visual Studio 2017 + +### Usage Install by [nuget](https://www.nuget.org/packages/EventHook) Install-Package EventHook -## Sample Code: +### Sample Code: ```csharp using (var eventHookFactory = new EventHookFactory()) @@ -75,4 +79,4 @@ using (var eventHookFactory = new EventHookFactory()) } ``` -![alt tag](https://raw.githubusercontent.com/justcoding121/Windows-User-Action-Hook/stable/EventHook.Examples/EventHook.ConsoleApp.Example/Capture.PNG) +![alt tag](https://raw.githubusercontent.com/justcoding121/Windows-User-Action-Hook/master/examples/EventHook.ConsoleApp.Example/Capture.PNG) diff --git a/appveyor.yml b/appveyor.yml index 4a6173c..8301619 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -41,7 +41,10 @@ skip_tags: true skip_commits: author: buildbot121 - + files: + - docs/* + - README.md + - LICENSE #---------------------------------# # artifacts configuration # #---------------------------------# diff --git a/docs/api/EventHook.ApplicationEventArgs.html b/docs/api/EventHook.ApplicationEventArgs.html index 1b72fb7..c1dfff2 100644 --- a/docs/api/EventHook.ApplicationEventArgs.html +++ b/docs/api/EventHook.ApplicationEventArgs.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/EventHook.ApplicationEvents.html b/docs/api/EventHook.ApplicationEvents.html index 51c0587..4e6d1d8 100644 --- a/docs/api/EventHook.ApplicationEvents.html +++ b/docs/api/EventHook.ApplicationEvents.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/EventHook.ApplicationWatcher.html b/docs/api/EventHook.ApplicationWatcher.html index ddfd217..8009360 100644 --- a/docs/api/EventHook.ApplicationWatcher.html +++ b/docs/api/EventHook.ApplicationWatcher.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/EventHook.ClipboardContentTypes.html b/docs/api/EventHook.ClipboardContentTypes.html index c30b59c..2741469 100644 --- a/docs/api/EventHook.ClipboardContentTypes.html +++ b/docs/api/EventHook.ClipboardContentTypes.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/EventHook.ClipboardEventArgs.html b/docs/api/EventHook.ClipboardEventArgs.html index 96b11b3..d3ba40f 100644 --- a/docs/api/EventHook.ClipboardEventArgs.html +++ b/docs/api/EventHook.ClipboardEventArgs.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/EventHook.ClipboardWatcher.html b/docs/api/EventHook.ClipboardWatcher.html index 2a32476..df0dcec 100644 --- a/docs/api/EventHook.ClipboardWatcher.html +++ b/docs/api/EventHook.ClipboardWatcher.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/EventHook.EventHookFactory.html b/docs/api/EventHook.EventHookFactory.html index 775669a..52bf334 100644 --- a/docs/api/EventHook.EventHookFactory.html +++ b/docs/api/EventHook.EventHookFactory.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/EventHook.Hooks.MouseMessages.html b/docs/api/EventHook.Hooks.MouseMessages.html index 8c5f10d..22d222c 100644 --- a/docs/api/EventHook.Hooks.MouseMessages.html +++ b/docs/api/EventHook.Hooks.MouseMessages.html @@ -10,7 +10,7 @@ - + @@ -134,6 +134,14 @@

Fields WM_WHEELBUTTONUP + + WM_XBUTTONDOWN + + + + WM_XBUTTONUP + + diff --git a/docs/api/EventHook.Hooks.POINT.html b/docs/api/EventHook.Hooks.POINT.html index 538aa33..1c5937b 100644 --- a/docs/api/EventHook.Hooks.POINT.html +++ b/docs/api/EventHook.Hooks.POINT.html @@ -10,7 +10,7 @@ - + @@ -134,7 +134,7 @@

Field Value
- Int32 + System.Int32 @@ -158,7 +158,7 @@
Field Value
- Int32 + System.Int32 diff --git a/docs/api/EventHook.Hooks.html b/docs/api/EventHook.Hooks.html index f78cb33..6c8bdb4 100644 --- a/docs/api/EventHook.Hooks.html +++ b/docs/api/EventHook.Hooks.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/EventHook.KeyData.html b/docs/api/EventHook.KeyData.html index 61e3975..2898d91 100644 --- a/docs/api/EventHook.KeyData.html +++ b/docs/api/EventHook.KeyData.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/EventHook.KeyEvent.html b/docs/api/EventHook.KeyEvent.html index 1a52117..64ef9fa 100644 --- a/docs/api/EventHook.KeyEvent.html +++ b/docs/api/EventHook.KeyEvent.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/EventHook.KeyInputEventArgs.html b/docs/api/EventHook.KeyInputEventArgs.html index daf0e7f..01c3821 100644 --- a/docs/api/EventHook.KeyInputEventArgs.html +++ b/docs/api/EventHook.KeyInputEventArgs.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/EventHook.KeyboardWatcher.html b/docs/api/EventHook.KeyboardWatcher.html index 8a19d77..b9221be 100644 --- a/docs/api/EventHook.KeyboardWatcher.html +++ b/docs/api/EventHook.KeyboardWatcher.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/EventHook.MouseEventArgs.html b/docs/api/EventHook.MouseEventArgs.html index 7b7b64a..0268470 100644 --- a/docs/api/EventHook.MouseEventArgs.html +++ b/docs/api/EventHook.MouseEventArgs.html @@ -10,7 +10,7 @@ - + @@ -154,6 +154,31 @@
Property Value
+ +

MouseData

+
+
+
Declaration
+
+
public uint MouseData { get; set; }
+
+
Property Value
+ + + + + + + + + + + + + +
TypeDescription
UInt32
+ +

Point

diff --git a/docs/api/EventHook.MouseWatcher.html b/docs/api/EventHook.MouseWatcher.html index ae22db3..f35615a 100644 --- a/docs/api/EventHook.MouseWatcher.html +++ b/docs/api/EventHook.MouseWatcher.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/EventHook.PrintEventArgs.html b/docs/api/EventHook.PrintEventArgs.html index 86e391f..05a4067 100644 --- a/docs/api/EventHook.PrintEventArgs.html +++ b/docs/api/EventHook.PrintEventArgs.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/EventHook.PrintEventData.html b/docs/api/EventHook.PrintEventData.html index a294ee7..381c741 100644 --- a/docs/api/EventHook.PrintEventData.html +++ b/docs/api/EventHook.PrintEventData.html @@ -10,7 +10,7 @@ - + @@ -193,7 +193,7 @@
Property Value
- Nullable<Int32> + Nullable<System.Int32> @@ -218,7 +218,7 @@
Property Value
- Nullable<Int32> + Nullable<System.Int32> diff --git a/docs/api/EventHook.PrintWatcher.html b/docs/api/EventHook.PrintWatcher.html index ebdf187..55d2735 100644 --- a/docs/api/EventHook.PrintWatcher.html +++ b/docs/api/EventHook.PrintWatcher.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/EventHook.WindowData.html b/docs/api/EventHook.WindowData.html index b369260..e65214d 100644 --- a/docs/api/EventHook.WindowData.html +++ b/docs/api/EventHook.WindowData.html @@ -10,7 +10,7 @@ - + @@ -142,7 +142,7 @@
Field Value
- Int32 + System.Int32 diff --git a/docs/api/EventHook.html b/docs/api/EventHook.html index f6acce7..d3a96f8 100644 --- a/docs/api/EventHook.html +++ b/docs/api/EventHook.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/toc.html b/docs/api/toc.html index 604f6dd..bee3686 100644 --- a/docs/api/toc.html +++ b/docs/api/toc.html @@ -11,76 +11,79 @@
+
  • + + EventHook + + +
  • +
  • + + EventHook.Hooks + + +
  • + + \ No newline at end of file diff --git a/docs/index.json b/docs/index.json index 081d04d..97bab4f 100644 --- a/docs/index.json +++ b/docs/index.json @@ -42,12 +42,12 @@ "api/EventHook.Hooks.MouseMessages.html": { "href": "api/EventHook.Hooks.MouseMessages.html", "title": "Enum MouseMessages | EventHook", - "keywords": "Enum MouseMessages The mouse messages. Namespace : EventHook.Hooks Assembly : EventHook.dll Syntax public enum MouseMessages Fields Name Description WM_LBUTTONDOWN WM_LBUTTONUP WM_MOUSEMOVE WM_MOUSEWHEEL WM_RBUTTONDOWN WM_RBUTTONUP WM_WHEELBUTTONDOWN WM_WHEELBUTTONUP" + "keywords": "Enum MouseMessages The mouse messages. Namespace : EventHook.Hooks Assembly : EventHook.dll Syntax public enum MouseMessages Fields Name Description WM_LBUTTONDOWN WM_LBUTTONUP WM_MOUSEMOVE WM_MOUSEWHEEL WM_RBUTTONDOWN WM_RBUTTONUP WM_WHEELBUTTONDOWN WM_WHEELBUTTONUP WM_XBUTTONDOWN WM_XBUTTONUP" }, "api/EventHook.Hooks.Point.html": { "href": "api/EventHook.Hooks.Point.html", "title": "Struct Point | EventHook", - "keywords": "Struct Point The point co-ordinate. Inherited Members ValueType.Equals(Object) ValueType.GetHashCode() ValueType.ToString() Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetType() Namespace : EventHook.Hooks Assembly : EventHook.dll Syntax public struct Point Fields x Declaration public readonly int x Field Value Type Description Int32 y Declaration public readonly int y Field Value Type Description Int32" + "keywords": "Struct Point The point co-ordinate. Inherited Members ValueType.Equals(Object) ValueType.GetHashCode() ValueType.ToString() Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetType() Namespace : EventHook.Hooks Assembly : EventHook.dll Syntax public struct Point Fields x Declaration public readonly int x Field Value Type Description System.Int32 y Declaration public readonly int y Field Value Type Description System.Int32" }, "api/EventHook.html": { "href": "api/EventHook.html", @@ -77,7 +77,7 @@ "api/EventHook.MouseEventArgs.html": { "href": "api/EventHook.MouseEventArgs.html", "title": "Class MouseEventArgs | EventHook", - "keywords": "Class MouseEventArgs Event argument to pass data through user callbacks. Inheritance Object EventArgs MouseEventArgs Inherited Members EventArgs.Empty Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : EventHook Assembly : EventHook.dll Syntax public class MouseEventArgs : EventArgs Properties Message Declaration public MouseMessages Message { get; set; } Property Value Type Description MouseMessages Point Declaration public Point Point { get; set; } Property Value Type Description Point" + "keywords": "Class MouseEventArgs Event argument to pass data through user callbacks. Inheritance Object EventArgs MouseEventArgs Inherited Members EventArgs.Empty Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : EventHook Assembly : EventHook.dll Syntax public class MouseEventArgs : EventArgs Properties Message Declaration public MouseMessages Message { get; set; } Property Value Type Description MouseMessages MouseData Declaration public uint MouseData { get; set; } Property Value Type Description UInt32 Point Declaration public Point Point { get; set; } Property Value Type Description Point" }, "api/EventHook.MouseWatcher.html": { "href": "api/EventHook.MouseWatcher.html", @@ -92,7 +92,7 @@ "api/EventHook.PrintEventData.html": { "href": "api/EventHook.PrintEventData.html", "title": "Class PrintEventData | EventHook", - "keywords": "Class PrintEventData An object holding key information on a particular print event. Inheritance Object PrintEventData Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : EventHook Assembly : EventHook.dll Syntax public class PrintEventData Properties EventDateTime Declaration public DateTime EventDateTime { get; set; } Property Value Type Description DateTime JobName Declaration public string JobName { get; set; } Property Value Type Description String JobSize Declaration public int? JobSize { get; set; } Property Value Type Description Nullable < Int32 > Pages Declaration public int? Pages { get; set; } Property Value Type Description Nullable < Int32 > PrinterName Declaration public string PrinterName { get; set; } Property Value Type Description String" + "keywords": "Class PrintEventData An object holding key information on a particular print event. Inheritance Object PrintEventData Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : EventHook Assembly : EventHook.dll Syntax public class PrintEventData Properties EventDateTime Declaration public DateTime EventDateTime { get; set; } Property Value Type Description DateTime JobName Declaration public string JobName { get; set; } Property Value Type Description String JobSize Declaration public int? JobSize { get; set; } Property Value Type Description Nullable < System.Int32 > Pages Declaration public int? Pages { get; set; } Property Value Type Description Nullable < System.Int32 > PrinterName Declaration public string PrinterName { get; set; } Property Value Type Description String" }, "api/EventHook.PrintWatcher.html": { "href": "api/EventHook.PrintWatcher.html", @@ -102,6 +102,6 @@ "api/EventHook.WindowData.html": { "href": "api/EventHook.WindowData.html", "title": "Class WindowData | EventHook", - "keywords": "Class WindowData An object that holds information on application event. Inheritance Object WindowData Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : EventHook Assembly : EventHook.dll Syntax public class WindowData Fields EventType Declaration public int EventType Field Value Type Description Int32 HWnd Declaration public IntPtr HWnd Field Value Type Description IntPtr Properties AppName Declaration public string AppName { get; set; } Property Value Type Description String AppPath Declaration public string AppPath { get; set; } Property Value Type Description String AppTitle Declaration public string AppTitle { get; set; } Property Value Type Description String" + "keywords": "Class WindowData An object that holds information on application event. Inheritance Object WindowData Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : EventHook Assembly : EventHook.dll Syntax public class WindowData Fields EventType Declaration public int EventType Field Value Type Description System.Int32 HWnd Declaration public IntPtr HWnd Field Value Type Description IntPtr Properties AppName Declaration public string AppName { get; set; } Property Value Type Description String AppPath Declaration public string AppPath { get; set; } Property Value Type Description String AppTitle Declaration public string AppTitle { get; set; } Property Value Type Description String" } } diff --git a/docs/styles/docfx.js b/docs/styles/docfx.js index 29491bf..54765fa 100644 --- a/docs/styles/docfx.js +++ b/docs/styles/docfx.js @@ -387,7 +387,10 @@ $(function () { } } else { if (util.getAbsolutePath(href) === currentAbsPath) { - isActive = true; + var dropdown = $(e).attr('data-toggle') == "dropdown" + if (!dropdown) { + isActive = true; + } } } if (isActive) { diff --git a/docs/styles/docfx.vendor.js b/docs/styles/docfx.vendor.js index 8656f1e..71bd0cd 100644 --- a/docs/styles/docfx.vendor.js +++ b/docs/styles/docfx.vendor.js @@ -27,14 +27,15 @@ return{aliases:["styl"],cI:!1,k:"if else for in",i:"("+l.join("|")+")",c:[e.QSM, built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 cs ds es fs gs ss st st0 st1 st2 st3 st4 st5 st6 st7 mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 xmm0 xmm1 xmm2 xmm3 xmm4 xmm5 xmm6 xmm7 xmm8 xmm9 xmm10 xmm11 xmm12 xmm13 xmm14 xmm15 xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ymm0 ymm1 ymm2 ymm3 ymm4 ymm5 ymm6 ymm7 ymm8 ymm9 ymm10 ymm11 ymm12 ymm13 ymm14 ymm15 ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 zmm0 zmm1 zmm2 zmm3 zmm4 zmm5 zmm6 zmm7 zmm8 zmm9 zmm10 zmm11 zmm12 zmm13 zmm14 zmm15 zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 k0 k1 k2 k3 k4 k5 k6 k7 bnd0 bnd1 bnd2 bnd3 cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d r0h r1h r2h r3h r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l db dw dd dq dt ddq do dy dz resb resw resd resq rest resdq reso resy resz incbin equ times byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr",meta:"%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif %if %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep %endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment .nolist __FILE__ __LINE__ __SECT__ __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ __UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__ __PASS__ struc endstruc istruc at iend align alignb sectalign daz nodaz up down zero default option assume public bits use16 use32 use64 default section segment absolute extern global common cpu float __utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ __float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ __Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__"},c:[e.C(";","$",{r:0}),{cN:"number",v:[{b:"\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|(0[Xx])?[0-9][0-9_]*\\.?[0-9_]*(?:[pP](?:[+-]?[0-9_]+)?)?)\\b",r:0},{b:"\\$[0-9][0-9A-Fa-f]*",r:0},{b:"\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b"},{b:"\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b"}]},e.QSM,{cN:"string",v:[{b:"'",e:"[^\\\\]'"},{b:"`",e:"[^\\\\]`"}],r:0},{cN:"symbol",v:[{b:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)"},{b:"^\\s*%%[A-Za-z0-9_$#@~.?]*:"}],r:0},{cN:"subst",b:"%[0-9]+",r:0},{cN:"subst",b:"%!S+",r:0},{cN:"meta",b:/^\s*\.[\w_-]+/}]}}),e.registerLanguage("xl",function(e){var t="ObjectLoader Animate MovieCredits Slides Filters Shading Materials LensFlare Mapping VLCAudioVideo StereoDecoder PointCloud NetworkAccess RemoteControl RegExp ChromaKey Snowfall NodeJS Speech Charts",r={keyword:"if then else do while until for loop import with is as where when by data constant integer real text name boolean symbol infix prefix postfix block tree",literal:"true false nil",built_in:"in mod rem and or xor not abs sign floor ceil sqrt sin cos tan asin acos atan exp expm1 log log2 log10 log1p pi at text_length text_range text_find text_replace contains page slide basic_slide title_slide title subtitle fade_in fade_out fade_at clear_color color line_color line_width texture_wrap texture_transform texture scale_?x scale_?y scale_?z? translate_?x translate_?y translate_?z? rotate_?x rotate_?y rotate_?z? rectangle circle ellipse sphere path line_to move_to quad_to curve_to theme background contents locally time mouse_?x mouse_?y mouse_buttons "+t},a={cN:"string",b:'"',e:'"',i:"\\n"},i={cN:"string",b:"'",e:"'",i:"\\n"},n={cN:"string",b:"<<",e:">>"},o={cN:"number",b:"[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?"},s={bK:"import",e:"$",k:r,c:[a]},l={cN:"function",b:/[a-z][^\n]*->/,rB:!0,e:/->/,c:[e.inherit(e.TM,{starts:{eW:!0,k:r}})]};return{aliases:["tao"],l:/[a-zA-Z][a-zA-Z0-9_?]*/,k:r,c:[e.CLCM,e.CBCM,a,i,n,l,s,o,e.NM]}}),e.registerLanguage("xquery",function(e){var t="for let if while then else return where group by xquery encoding versionmodule namespace boundary-space preserve strip default collation base-uri orderingcopy-namespaces order declare import schema namespace function option in allowing emptyat tumbling window sliding window start when only end when previous next stable ascendingdescending empty greatest least some every satisfies switch case typeswitch try catch andor to union intersect instance of treat as castable cast map array delete insert intoreplace value rename copy modify update",r="false true xs:string xs:integer element item xs:date xs:datetime xs:float xs:double xs:decimal QName xs:anyURI xs:long xs:int xs:short xs:byte attribute",a={b:/\$[a-zA-Z0-9\-]+/},i={cN:"number",b:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",r:0},n={cN:"string",v:[{b:/"/,e:/"/,c:[{b:/""/,r:0}]},{b:/'/,e:/'/,c:[{b:/''/,r:0}]}]},o={cN:"meta",b:"%\\w+"},s={cN:"comment",b:"\\(:",e:":\\)",r:10,c:[{cN:"doctag",b:"@\\w+"}]},l={b:"{",e:"}"},c=[a,n,i,s,o,l];return l.c=c,{aliases:["xpath","xq"],cI:!1,l:/[a-zA-Z\$][a-zA-Z0-9_:\-]*/,i:/(proc)|(abstract)|(extends)|(until)|(#)/,k:{keyword:t,literal:r},c:c}}),e.registerLanguage("zephir",function(e){var t={cN:"string",c:[e.BE],v:[{b:'b"',e:'"'},{b:"b'",e:"'"},e.inherit(e.ASM,{i:null}),e.inherit(e.QSM,{i:null})]},r={v:[e.BNM,e.CNM]};return{aliases:["zep"],cI:!0,k:"and include_once list abstract global private echo interface as static endswitch array null if endwhile or const for endforeach self var let while isset public protected exit foreach throw elseif include __FILE__ empty require_once do xor return parent clone use __CLASS__ __LINE__ else break print eval new catch __METHOD__ case exception default die require __FUNCTION__ enddeclare final try switch continue endfor endif declare unset true false trait goto instanceof insteadof __DIR__ __NAMESPACE__ yield finally int uint long ulong char uchar double float bool boolean stringlikely unlikely",c:[e.CLCM,e.HCM,e.C("/\\*","\\*/",{c:[{cN:"doctag",b:"@[A-Za-z]+"}]}),e.C("__halt_compiler.+?;",!1,{eW:!0,k:"__halt_compiler",l:e.UIR}),{cN:"string",b:"<<<['\"]?\\w+['\"]?$",e:"^\\w+;",c:[e.BE]},{b:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{cN:"function",bK:"function",e:/[;{]/,eE:!0,i:"\\$|\\[|%",c:[e.UTM,{cN:"params",b:"\\(",e:"\\)",c:["self",e.CBCM,t,r]}]},{cN:"class",bK:"class interface",e:"{",eE:!0,i:/[:\(\$"]/,c:[{bK:"extends implements"},e.UTM]},{bK:"namespace",e:";",i:/[\.']/,c:[e.UTM]},{bK:"use",e:";",c:[e.UTM]},{b:"=>"},t,r]}}),e}); /*! url - v1.8.6 - 2013-11-22 */window.url=function(){function a(a){return!isNaN(parseFloat(a))&&isFinite(a)}return function(b,c){var d=c||window.location.toString();if(!b)return d;b=b.toString(),"//"===d.substring(0,2)?d="http:"+d:1===d.split("://").length&&(d="http://"+d),c=d.split("/");var e={auth:""},f=c[2].split("@");1===f.length?f=f[0].split(":"):(e.auth=f[0],f=f[1].split(":")),e.protocol=c[0],e.hostname=f[0],e.port=f[1]||("https"===e.protocol.split(":")[0].toLowerCase()?"443":"80"),e.pathname=(c.length>3?"/":"")+c.slice(3,c.length).join("/").split("?")[0].split("#")[0];var g=e.pathname;"/"===g.charAt(g.length-1)&&(g=g.substring(0,g.length-1));var h=e.hostname,i=h.split("."),j=g.split("/");if("hostname"===b)return h;if("domain"===b)return/^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/.test(h)?h:i.slice(-2).join(".");if("sub"===b)return i.slice(0,i.length-2).join(".");if("port"===b)return e.port;if("protocol"===b)return e.protocol.split(":")[0];if("auth"===b)return e.auth;if("user"===b)return e.auth.split(":")[0];if("pass"===b)return e.auth.split(":")[1]||"";if("path"===b)return e.pathname;if("."===b.charAt(0)){if(b=b.substring(1),a(b))return b=parseInt(b,10),i[0>b?i.length+b:b-1]||""}else{if(a(b))return b=parseInt(b,10),j[0>b?j.length+b:b]||"";if("file"===b)return j.slice(-1)[0];if("filename"===b)return j.slice(-1)[0].split(".")[0];if("fileext"===b)return j.slice(-1)[0].split(".")[1]||"";if("?"===b.charAt(0)||"#"===b.charAt(0)){var k=d,l=null;if("?"===b.charAt(0)?k=(k.split("?")[1]||"").split("#")[0]:"#"===b.charAt(0)&&(k=k.split("#")[1]||""),!b.charAt(1))return k;b=b.substring(1),k=k.split("&");for(var m=0,n=k.length;n>m;m++)if(l=k[m].split("="),l[0]===b)return l[1]||"";return null}}return""}}(),"undefined"!=typeof jQuery&&jQuery.extend({url:function(a,b){return window.url(a,b)}}); /* - * jQuery pagination plugin v1.4.1 - * http://esimakin.github.io/twbs-pagination/ + * jQuery Bootstrap Pagination v1.4.2 + * https://github.com/josecebe/twbs-pagination * - * Copyright 2014-2016, Eugene Simakin - * Released under Apache 2.0 license + * Copyright 2014-2018, Eugene Simakin + * Released under Apache-2.0 license * http://apache.org/licenses/LICENSE-2.0.html */ -(function(e,d,a,f){var b=e.fn.twbsPagination;var c=function(i,g){this.$element=e(i);this.options=e.extend({},e.fn.twbsPagination.defaults,g);if(this.options.startPage<1||this.options.startPage>this.options.totalPages){throw new Error("Start page option is incorrect")}this.options.totalPages=parseInt(this.options.totalPages);if(isNaN(this.options.totalPages)){throw new Error("Total pages option is not correct!")}this.options.visiblePages=parseInt(this.options.visiblePages);if(isNaN(this.options.visiblePages)){throw new Error("Visible pages option is not correct!")}if(this.options.onPageClick instanceof Function){this.$element.first().on("page",this.options.onPageClick)}if(this.options.hideOnlyOnePage&&this.options.totalPages==1){this.$element.trigger("page",1);return this}if(this.options.totalPages")}this.$listContainer.addClass(this.options.paginationClass);if(h!=="UL"){this.$element.append(this.$listContainer)}if(this.options.initiateStartPageClick){this.show(this.options.startPage)}else{this.render(this.getPages(this.options.startPage));this.setupEvents()}return this};c.prototype={constructor:c,destroy:function(){this.$element.empty();this.$element.removeData("twbs-pagination");this.$element.off("page");return this},show:function(g){if(g<1||g>this.options.totalPages){throw new Error("Page is incorrect.")}this.currentPage=g;this.render(this.getPages(g));this.setupEvents();this.$element.trigger("page",g);return this},buildListItems:function(g){var l=[];if(this.options.first){l.push(this.buildItem("first",1))}if(this.options.prev){var k=g.currentPage>1?g.currentPage-1:this.options.loop?this.options.totalPages:1;l.push(this.buildItem("prev",k))}for(var h=0;h"),h=e(""),g=this.options[i]?this.makeText(this.options[i],j):j;k.addClass(this.options[i+"Class"]);k.data("page",j);k.data("page-type",i);k.append(h.attr("href",this.makeHref(j)).addClass(this.options.anchorClass).html(g));return k},getPages:function(j){var g=[];var k=Math.floor(this.options.visiblePages/2);var l=j-k+1-this.options.visiblePages%2;var h=j+k;if(l<=0){l=1;h=this.options.visiblePages}if(h>this.options.totalPages){l=this.options.totalPages-this.options.visiblePages+1;h=this.options.totalPages}var i=l;while(i<=h){g.push(i);i++}return{currentPage:j,numeric:g}},render:function(g){var i=this;this.$listContainer.children().remove();var h=this.buildListItems(g);jQuery.each(h,function(j,k){i.$listContainer.append(k)});this.$listContainer.children().each(function(){var k=e(this),j=k.data("page-type");switch(j){case"page":if(k.data("page")===g.currentPage){k.addClass(i.options.activeClass)}break;case"first":k.toggleClass(i.options.disabledClass,g.currentPage===1);break;case"last":k.toggleClass(i.options.disabledClass,g.currentPage===i.options.totalPages);break;case"prev":k.toggleClass(i.options.disabledClass,!i.options.loop&&g.currentPage===1);break;case"next":k.toggleClass(i.options.disabledClass,!i.options.loop&&g.currentPage===i.options.totalPages);break;default:break}})},setupEvents:function(){var g=this;this.$listContainer.off("click").on("click","li",function(h){var i=e(this);if(i.hasClass(g.options.disabledClass)||i.hasClass(g.options.activeClass)){return false}!g.options.href&&h.preventDefault();g.show(parseInt(i.data("page")))})},makeHref:function(g){return this.options.href?this.generateQueryString(g):"#"},makeText:function(h,g){return h.replace(this.options.pageVariable,g).replace(this.options.totalPagesVariable,this.options.totalPages)},getPageFromQueryString:function(g){var h=this.getSearchString(g),i=new RegExp(this.options.pageVariable+"(=([^&#]*)|&|#|$)"),j=i.exec(h);if(!j||!j[2]){return null}j=decodeURIComponent(j[2]);j=parseInt(j);if(isNaN(j)){return null}return j},generateQueryString:function(g,h){var i=this.getSearchString(h),j=new RegExp(this.options.pageVariable+"=*[^&#]*");if(!i){return""}return"?"+i.replace(j,this.options.pageVariable+"="+g)},getSearchString:function(g){var h=g||d.location.search;if(h===""){return null}if(h.indexOf("?")===0){h=h.substr(1)}return h}};e.fn.twbsPagination=function(i){var h=Array.prototype.slice.call(arguments,1);var k;var l=e(this);var j=l.data("twbs-pagination");var g=typeof i==="object"?i:{};if(!j){l.data("twbs-pagination",(j=new c(this,g)))}if(typeof i==="string"){k=j[i].apply(j,h)}return(k===f)?l:k};e.fn.twbsPagination.defaults={totalPages:1,startPage:1,visiblePages:5,initiateStartPageClick:true,hideOnlyOnePage:false,href:false,pageVariable:"{{page}}",totalPagesVariable:"{{total_pages}}",page:null,first:"First",prev:"Previous",next:"Next",last:"Last",loop:false,onPageClick:null,paginationClass:"pagination",nextClass:"page-item next",prevClass:"page-item prev",lastClass:"page-item last",firstClass:"page-item first",pageClass:"page-item",activeClass:"active",disabledClass:"disabled",anchorClass:"page-link"};e.fn.twbsPagination.Constructor=c;e.fn.twbsPagination.noConflict=function(){e.fn.twbsPagination=b;return this};e.fn.twbsPagination.version="1.4.1"})(window.jQuery,window,document); + +!function(o,e,t,s){"use strict";var i=o.fn.twbsPagination,r=function(t,s){if(this.$element=o(t),this.options=o.extend({},o.fn.twbsPagination.defaults,s),this.options.startPage<1||this.options.startPage>this.options.totalPages)throw new Error("Start page option is incorrect");if(this.options.totalPages=parseInt(this.options.totalPages),isNaN(this.options.totalPages))throw new Error("Total pages option is not correct!");if(this.options.visiblePages=parseInt(this.options.visiblePages),isNaN(this.options.visiblePages))throw new Error("Visible pages option is not correct!");if(this.options.beforePageClick instanceof Function&&this.$element.first().on("beforePage",this.options.beforePageClick),this.options.onPageClick instanceof Function&&this.$element.first().on("page",this.options.onPageClick),this.options.hideOnlyOnePage&&1==this.options.totalPages)return this.options.initiateStartPageClick&&this.$element.trigger("page",1),this;if(this.options.href&&(this.options.startPage=this.getPageFromQueryString(),this.options.startPage||(this.options.startPage=1)),"UL"===("function"==typeof this.$element.prop?this.$element.prop("tagName"):this.$element.attr("tagName")))this.$listContainer=this.$element;else{var e=this.$element,i=o([]);e.each(function(t){var s=o("
      ");o(this).append(s),i.push(s[0])}),this.$listContainer=i,this.$element=i}return this.$listContainer.addClass(this.options.paginationClass),this.options.initiateStartPageClick?this.show(this.options.startPage):(this.currentPage=this.options.startPage,this.render(this.getPages(this.options.startPage)),this.setupEvents()),this};r.prototype={constructor:r,destroy:function(){return this.$element.empty(),this.$element.removeData("twbs-pagination"),this.$element.off("page"),this},show:function(t){if(t<1||t>this.options.totalPages)throw new Error("Page is incorrect.");this.currentPage=t,this.$element.trigger("beforePage",t);var s=this.getPages(t);return this.render(s),this.setupEvents(),this.$element.trigger("page",t),s},enable:function(){this.show(this.currentPage)},disable:function(){var t=this;this.$listContainer.off("click").on("click","li",function(t){t.preventDefault()}),this.$listContainer.children().each(function(){o(this).hasClass(t.options.activeClass)||o(this).addClass(t.options.disabledClass)})},buildListItems:function(t){var s=[];if(this.options.first&&s.push(this.buildItem("first",1)),this.options.prev){var e=1"),i=o(""),a=this.options[t]?this.makeText(this.options[t],s):s;return e.addClass(this.options[t+"Class"]),e.data("page",s),e.data("page-type",t),e.append(i.attr("href",this.makeHref(s)).addClass(this.options.anchorClass).html(a)),e},getPages:function(t){var s=[],e=Math.floor(this.options.visiblePages/2),i=t-e+1-this.options.visiblePages%2,a=t+e,n=this.options.visiblePages;n>this.options.totalPages&&(n=this.options.totalPages),i<=0&&(i=1,a=n),a>this.options.totalPages&&(i=this.options.totalPages-n+1,a=this.options.totalPages);for(var o=i;o<=a;)s.push(o),o++;return{currentPage:t,numeric:s}},render:function(s){var e=this;this.$listContainer.children().remove();var t=this.buildListItems(s);o.each(t,function(t,s){e.$listContainer.append(s)}),this.$listContainer.children().each(function(){var t=o(this);switch(t.data("page-type")){case"page":t.data("page")===s.currentPage&&t.addClass(e.options.activeClass);break;case"first":t.toggleClass(e.options.disabledClass,1===s.currentPage);break;case"last":t.toggleClass(e.options.disabledClass,s.currentPage===e.options.totalPages);break;case"prev":t.toggleClass(e.options.disabledClass,!e.options.loop&&1===s.currentPage);break;case"next":t.toggleClass(e.options.disabledClass,!e.options.loop&&s.currentPage===e.options.totalPages)}})},setupEvents:function(){var e=this;this.$listContainer.off("click").on("click","li",function(t){var s=o(this);if(s.hasClass(e.options.disabledClass)||s.hasClass(e.options.activeClass))return!1;!e.options.href&&t.preventDefault(),e.show(parseInt(s.data("page")))})},changeTotalPages:function(t,s){return this.options.totalPages=t,this.show(s)},makeHref:function(t){return this.options.href?this.generateQueryString(t):"#"},makeText:function(t,s){return t.replace(this.options.pageVariable,s).replace(this.options.totalPagesVariable,this.options.totalPages)},getPageFromQueryString:function(t){var s=this.getSearchString(t),e=new RegExp(this.options.pageVariable+"(=([^&#]*)|&|#|$)").exec(s);return e&&e[2]?(e=decodeURIComponent(e[2]),e=parseInt(e),isNaN(e)?null:e):null},generateQueryString:function(t,s){var e=this.getSearchString(s),i=new RegExp(this.options.pageVariable+"=*[^&#]*");return e?"?"+e.replace(i,this.options.pageVariable+"="+t):""},getSearchString:function(t){var s=t||e.location.search;return""===s?null:(0===s.indexOf("?")&&(s=s.substr(1)),s)},getCurrentPage:function(){return this.currentPage},getTotalPages:function(){return this.options.totalPages}},o.fn.twbsPagination=function(t){var s,e=Array.prototype.slice.call(arguments,1),i=o(this),a=i.data("twbs-pagination"),n="object"==typeof t?t:{};return a||i.data("twbs-pagination",a=new r(this,n)),"string"==typeof t&&(s=a[t].apply(a,e)),void 0===s?i:s},o.fn.twbsPagination.defaults={totalPages:1,startPage:1,visiblePages:5,initiateStartPageClick:!0,hideOnlyOnePage:!1,href:!1,pageVariable:"{{page}}",totalPagesVariable:"{{total_pages}}",page:null,first:"First",prev:"Previous",next:"Next",last:"Last",loop:!1,beforePageClick:null,onPageClick:null,paginationClass:"pagination",nextClass:"page-item next",prevClass:"page-item prev",lastClass:"page-item last",firstClass:"page-item first",pageClass:"page-item",activeClass:"active",disabledClass:"disabled",anchorClass:"page-link"},o.fn.twbsPagination.Constructor=r,o.fn.twbsPagination.noConflict=function(){return o.fn.twbsPagination=i,this},o.fn.twbsPagination.version="1.4.2"}(window.jQuery,window,document); /*!*************************************************** * mark.js v8.11.1 * https://markjs.io/ diff --git a/docs/xrefmap.yml b/docs/xrefmap.yml index 5a590cd..7081dec 100644 --- a/docs/xrefmap.yml +++ b/docs/xrefmap.yml @@ -357,6 +357,18 @@ references: commentId: F:EventHook.Hooks.MouseMessages.WM_WHEELBUTTONUP fullName: EventHook.Hooks.MouseMessages.WM_WHEELBUTTONUP nameWithType: MouseMessages.WM_WHEELBUTTONUP +- uid: EventHook.Hooks.MouseMessages.WM_XBUTTONDOWN + name: WM_XBUTTONDOWN + href: api/EventHook.Hooks.MouseMessages.html#EventHook_Hooks_MouseMessages_WM_XBUTTONDOWN + commentId: F:EventHook.Hooks.MouseMessages.WM_XBUTTONDOWN + fullName: EventHook.Hooks.MouseMessages.WM_XBUTTONDOWN + nameWithType: MouseMessages.WM_XBUTTONDOWN +- uid: EventHook.Hooks.MouseMessages.WM_XBUTTONUP + name: WM_XBUTTONUP + href: api/EventHook.Hooks.MouseMessages.html#EventHook_Hooks_MouseMessages_WM_XBUTTONUP + commentId: F:EventHook.Hooks.MouseMessages.WM_XBUTTONUP + fullName: EventHook.Hooks.MouseMessages.WM_XBUTTONUP + nameWithType: MouseMessages.WM_XBUTTONUP - uid: EventHook.Hooks.Point name: Point href: api/EventHook.Hooks.Point.html @@ -493,6 +505,19 @@ references: isSpec: "True" fullName: EventHook.MouseEventArgs.Message nameWithType: MouseEventArgs.Message +- uid: EventHook.MouseEventArgs.MouseData + name: MouseData + href: api/EventHook.MouseEventArgs.html#EventHook_MouseEventArgs_MouseData + commentId: P:EventHook.MouseEventArgs.MouseData + fullName: EventHook.MouseEventArgs.MouseData + nameWithType: MouseEventArgs.MouseData +- uid: EventHook.MouseEventArgs.MouseData* + name: MouseData + href: api/EventHook.MouseEventArgs.html#EventHook_MouseEventArgs_MouseData_ + commentId: Overload:EventHook.MouseEventArgs.MouseData + isSpec: "True" + fullName: EventHook.MouseEventArgs.MouseData + nameWithType: MouseEventArgs.MouseData - uid: EventHook.MouseEventArgs.Point name: Point href: api/EventHook.MouseEventArgs.html#EventHook_MouseEventArgs_Point diff --git a/EventHook.Examples/EventHook.ConsoleApp.Example/Capture.PNG b/examples/EventHook.ConsoleApp.Example/Capture.PNG similarity index 100% rename from EventHook.Examples/EventHook.ConsoleApp.Example/Capture.PNG rename to examples/EventHook.ConsoleApp.Example/Capture.PNG diff --git a/EventHook.Examples/EventHook.ConsoleApp.Example/EventHook.ConsoleApp.Example.csproj b/examples/EventHook.ConsoleApp.Example/EventHook.ConsoleApp.Example.csproj similarity index 95% rename from EventHook.Examples/EventHook.ConsoleApp.Example/EventHook.ConsoleApp.Example.csproj rename to examples/EventHook.ConsoleApp.Example/EventHook.ConsoleApp.Example.csproj index d332e6c..4690a9f 100644 --- a/EventHook.Examples/EventHook.ConsoleApp.Example/EventHook.ConsoleApp.Example.csproj +++ b/examples/EventHook.ConsoleApp.Example/EventHook.ConsoleApp.Example.csproj @@ -54,8 +54,8 @@ - - {4ff5e04f-3425-4f55-a50a-30ceba7c2b95} + + {3847a7f4-3f6b-4626-af4c-8fdfba6165f2} EventHook diff --git a/EventHook.Examples/EventHook.ConsoleApp.Example/Program.cs b/examples/EventHook.ConsoleApp.Example/Program.cs similarity index 100% rename from EventHook.Examples/EventHook.ConsoleApp.Example/Program.cs rename to examples/EventHook.ConsoleApp.Example/Program.cs diff --git a/EventHook.Examples/EventHook.ConsoleApp.Example/Properties/AssemblyInfo.cs b/examples/EventHook.ConsoleApp.Example/Properties/AssemblyInfo.cs similarity index 100% rename from EventHook.Examples/EventHook.ConsoleApp.Example/Properties/AssemblyInfo.cs rename to examples/EventHook.ConsoleApp.Example/Properties/AssemblyInfo.cs diff --git a/EventHook.Examples/EventHook.ConsoleApp.Example/app.config b/examples/EventHook.ConsoleApp.Example/app.config similarity index 100% rename from EventHook.Examples/EventHook.ConsoleApp.Example/app.config rename to examples/EventHook.ConsoleApp.Example/app.config diff --git a/EventHook.Examples/EventHook.WPF.Example/App.config b/examples/EventHook.WPF.Example/App.config similarity index 100% rename from EventHook.Examples/EventHook.WPF.Example/App.config rename to examples/EventHook.WPF.Example/App.config diff --git a/EventHook.Examples/EventHook.WPF.Example/App.xaml b/examples/EventHook.WPF.Example/App.xaml similarity index 100% rename from EventHook.Examples/EventHook.WPF.Example/App.xaml rename to examples/EventHook.WPF.Example/App.xaml diff --git a/EventHook.Examples/EventHook.WPF.Example/App.xaml.cs b/examples/EventHook.WPF.Example/App.xaml.cs similarity index 100% rename from EventHook.Examples/EventHook.WPF.Example/App.xaml.cs rename to examples/EventHook.WPF.Example/App.xaml.cs diff --git a/EventHook.Examples/EventHook.WPF.Example/EventHook.WPF.Example.csproj b/examples/EventHook.WPF.Example/EventHook.WPF.Example.csproj similarity index 98% rename from EventHook.Examples/EventHook.WPF.Example/EventHook.WPF.Example.csproj rename to examples/EventHook.WPF.Example/EventHook.WPF.Example.csproj index a2cf3d2..2b9bed6 100644 --- a/EventHook.Examples/EventHook.WPF.Example/EventHook.WPF.Example.csproj +++ b/examples/EventHook.WPF.Example/EventHook.WPF.Example.csproj @@ -95,7 +95,7 @@ - + {3847a7f4-3f6b-4626-af4c-8fdfba6165f2} EventHook diff --git a/EventHook.Examples/EventHook.WPF.Example/MainWindow.xaml b/examples/EventHook.WPF.Example/MainWindow.xaml similarity index 100% rename from EventHook.Examples/EventHook.WPF.Example/MainWindow.xaml rename to examples/EventHook.WPF.Example/MainWindow.xaml diff --git a/EventHook.Examples/EventHook.WPF.Example/MainWindow.xaml.cs b/examples/EventHook.WPF.Example/MainWindow.xaml.cs similarity index 100% rename from EventHook.Examples/EventHook.WPF.Example/MainWindow.xaml.cs rename to examples/EventHook.WPF.Example/MainWindow.xaml.cs diff --git a/EventHook.Examples/EventHook.WPF.Example/Properties/AssemblyInfo.cs b/examples/EventHook.WPF.Example/Properties/AssemblyInfo.cs similarity index 100% rename from EventHook.Examples/EventHook.WPF.Example/Properties/AssemblyInfo.cs rename to examples/EventHook.WPF.Example/Properties/AssemblyInfo.cs diff --git a/EventHook.Examples/EventHook.WPF.Example/Properties/Resources.Designer.cs b/examples/EventHook.WPF.Example/Properties/Resources.Designer.cs similarity index 100% rename from EventHook.Examples/EventHook.WPF.Example/Properties/Resources.Designer.cs rename to examples/EventHook.WPF.Example/Properties/Resources.Designer.cs diff --git a/EventHook.Examples/EventHook.WPF.Example/Properties/Resources.resx b/examples/EventHook.WPF.Example/Properties/Resources.resx similarity index 100% rename from EventHook.Examples/EventHook.WPF.Example/Properties/Resources.resx rename to examples/EventHook.WPF.Example/Properties/Resources.resx diff --git a/EventHook.Examples/EventHook.WPF.Example/Properties/Settings.Designer.cs b/examples/EventHook.WPF.Example/Properties/Settings.Designer.cs similarity index 100% rename from EventHook.Examples/EventHook.WPF.Example/Properties/Settings.Designer.cs rename to examples/EventHook.WPF.Example/Properties/Settings.Designer.cs diff --git a/EventHook.Examples/EventHook.WPF.Example/Properties/Settings.settings b/examples/EventHook.WPF.Example/Properties/Settings.settings similarity index 100% rename from EventHook.Examples/EventHook.WPF.Example/Properties/Settings.settings rename to examples/EventHook.WPF.Example/Properties/Settings.settings diff --git a/EventHook.Examples/EventHook.WinForms.Example/App.config b/examples/EventHook.WinForms.Example/App.config similarity index 100% rename from EventHook.Examples/EventHook.WinForms.Example/App.config rename to examples/EventHook.WinForms.Example/App.config diff --git a/EventHook.Examples/EventHook.WinForms.Example/EventHook.WinForms.Example.csproj b/examples/EventHook.WinForms.Example/EventHook.WinForms.Example.csproj similarity index 98% rename from EventHook.Examples/EventHook.WinForms.Example/EventHook.WinForms.Example.csproj rename to examples/EventHook.WinForms.Example/EventHook.WinForms.Example.csproj index a4bf716..7b6fe46 100644 --- a/EventHook.Examples/EventHook.WinForms.Example/EventHook.WinForms.Example.csproj +++ b/examples/EventHook.WinForms.Example/EventHook.WinForms.Example.csproj @@ -78,7 +78,7 @@ - + {3847a7f4-3f6b-4626-af4c-8fdfba6165f2} EventHook diff --git a/EventHook.Examples/EventHook.WinForms.Example/MainForm.Designer.cs b/examples/EventHook.WinForms.Example/MainForm.Designer.cs similarity index 100% rename from EventHook.Examples/EventHook.WinForms.Example/MainForm.Designer.cs rename to examples/EventHook.WinForms.Example/MainForm.Designer.cs diff --git a/EventHook.Examples/EventHook.WinForms.Example/MainForm.cs b/examples/EventHook.WinForms.Example/MainForm.cs similarity index 100% rename from EventHook.Examples/EventHook.WinForms.Example/MainForm.cs rename to examples/EventHook.WinForms.Example/MainForm.cs diff --git a/EventHook.Examples/EventHook.WinForms.Example/Program.cs b/examples/EventHook.WinForms.Example/Program.cs similarity index 100% rename from EventHook.Examples/EventHook.WinForms.Example/Program.cs rename to examples/EventHook.WinForms.Example/Program.cs diff --git a/EventHook.Examples/EventHook.WinForms.Example/Properties/AssemblyInfo.cs b/examples/EventHook.WinForms.Example/Properties/AssemblyInfo.cs similarity index 100% rename from EventHook.Examples/EventHook.WinForms.Example/Properties/AssemblyInfo.cs rename to examples/EventHook.WinForms.Example/Properties/AssemblyInfo.cs diff --git a/EventHook.Examples/EventHook.WinForms.Example/Properties/Resources.Designer.cs b/examples/EventHook.WinForms.Example/Properties/Resources.Designer.cs similarity index 100% rename from EventHook.Examples/EventHook.WinForms.Example/Properties/Resources.Designer.cs rename to examples/EventHook.WinForms.Example/Properties/Resources.Designer.cs diff --git a/EventHook.Examples/EventHook.WinForms.Example/Properties/Resources.resx b/examples/EventHook.WinForms.Example/Properties/Resources.resx similarity index 100% rename from EventHook.Examples/EventHook.WinForms.Example/Properties/Resources.resx rename to examples/EventHook.WinForms.Example/Properties/Resources.resx diff --git a/EventHook.Examples/EventHook.WinForms.Example/Properties/Settings.Designer.cs b/examples/EventHook.WinForms.Example/Properties/Settings.Designer.cs similarity index 100% rename from EventHook.Examples/EventHook.WinForms.Example/Properties/Settings.Designer.cs rename to examples/EventHook.WinForms.Example/Properties/Settings.Designer.cs diff --git a/EventHook.Examples/EventHook.WinForms.Example/Properties/Settings.settings b/examples/EventHook.WinForms.Example/Properties/Settings.settings similarity index 100% rename from EventHook.Examples/EventHook.WinForms.Example/Properties/Settings.settings rename to examples/EventHook.WinForms.Example/Properties/Settings.settings diff --git a/EventHook.Docs.sln b/src/EventHook.Docs.sln similarity index 89% rename from EventHook.Docs.sln rename to src/EventHook.Docs.sln index f95d255..cfb3ecd 100644 --- a/EventHook.Docs.sln +++ b/src/EventHook.Docs.sln @@ -5,9 +5,9 @@ VisualStudioVersion = 15.0.27428.1 MinimumVisualStudioVersion = 10.0.40219.1 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{6FD3B84B-9283-4E9C-8C43-A234E9AA3EAA}" ProjectSection(SolutionItems) = preProject - .nuget\NuGet.Config = .nuget\NuGet.Config - .nuget\NuGet.exe = .nuget\NuGet.exe - .nuget\NuGet.targets = .nuget\NuGet.targets + ..\.nuget\NuGet.Config = ..\.nuget\NuGet.Config + ..\.nuget\NuGet.exe = ..\.nuget\NuGet.exe + ..\.nuget\NuGet.targets = ..\.nuget\NuGet.targets EndProjectSection EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EventHook.Docs", "EventHook\EventHook.Docs.csproj", "{EBF2EA46-EA00-4350-BE1D-D86AFD699DB3}" diff --git a/EventHook.sln b/src/EventHook.sln similarity index 80% rename from EventHook.sln rename to src/EventHook.sln index d0746fa..1cb9eda 100644 --- a/EventHook.sln +++ b/src/EventHook.sln @@ -7,54 +7,54 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Examples", "Examples", "{C6 EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{44D5BA9F-DF7B-4208-BCD0-A909ECAADE1C}" ProjectSection(SolutionItems) = preProject - .nuget\NuGet.Config = .nuget\NuGet.Config - .nuget\NuGet.exe = .nuget\NuGet.exe - .nuget\NuGet.targets = .nuget\NuGet.targets + ..\.nuget\NuGet.Config = ..\.nuget\NuGet.Config + ..\.nuget\NuGet.exe = ..\.nuget\NuGet.exe + ..\.nuget\NuGet.targets = ..\.nuget\NuGet.targets EndProjectSection EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EventHook.WinForms.Example", "EventHook.Examples\EventHook.WinForms.Example\EventHook.WinForms.Example.csproj", "{17264D8C-CF5A-4032-9E70-090525D574F2}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EventHook.ConsoleApp.Example", "EventHook.Examples\EventHook.ConsoleApp.Example\EventHook.ConsoleApp.Example.csproj", "{0075830E-89B6-4E6B-9C49-CA377746AB4C}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EventHook.WPF.Example", "EventHook.Examples\EventHook.WPF.Example\EventHook.WPF.Example.csproj", "{41F4FF6F-0E65-439C-9091-BA2C8E25BAE0}" -EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EventHook", "EventHook\EventHook.csproj", "{3847A7F4-3F6B-4626-AF4C-8FDFBA6165F2}" EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docs", "docs", "{FC2A6986-DC6C-4ABF-8BA5-FAF29CD15507}" +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Documentation", "Documentation", "{FC2A6986-DC6C-4ABF-8BA5-FAF29CD15507}" ProjectSection(SolutionItems) = preProject - LICENSE = LICENSE - README.md = README.md + ..\LICENSE = ..\LICENSE + ..\README.md = ..\README.md EndProjectSection EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EventHook.ConsoleApp.Example", "..\examples\EventHook.ConsoleApp.Example\EventHook.ConsoleApp.Example.csproj", "{0075830E-89B6-4E6B-9C49-CA377746AB4C}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EventHook.WinForms.Example", "..\examples\EventHook.WinForms.Example\EventHook.WinForms.Example.csproj", "{17264D8C-CF5A-4032-9E70-090525D574F2}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EventHook.WPF.Example", "..\examples\EventHook.WPF.Example\EventHook.WPF.Example.csproj", "{41F4FF6F-0E65-439C-9091-BA2C8E25BAE0}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {17264D8C-CF5A-4032-9E70-090525D574F2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {17264D8C-CF5A-4032-9E70-090525D574F2}.Debug|Any CPU.Build.0 = Debug|Any CPU - {17264D8C-CF5A-4032-9E70-090525D574F2}.Release|Any CPU.ActiveCfg = Release|Any CPU - {17264D8C-CF5A-4032-9E70-090525D574F2}.Release|Any CPU.Build.0 = Release|Any CPU + {3847A7F4-3F6B-4626-AF4C-8FDFBA6165F2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3847A7F4-3F6B-4626-AF4C-8FDFBA6165F2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3847A7F4-3F6B-4626-AF4C-8FDFBA6165F2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3847A7F4-3F6B-4626-AF4C-8FDFBA6165F2}.Release|Any CPU.Build.0 = Release|Any CPU {0075830E-89B6-4E6B-9C49-CA377746AB4C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {0075830E-89B6-4E6B-9C49-CA377746AB4C}.Debug|Any CPU.Build.0 = Debug|Any CPU {0075830E-89B6-4E6B-9C49-CA377746AB4C}.Release|Any CPU.ActiveCfg = Release|Any CPU {0075830E-89B6-4E6B-9C49-CA377746AB4C}.Release|Any CPU.Build.0 = Release|Any CPU + {17264D8C-CF5A-4032-9E70-090525D574F2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {17264D8C-CF5A-4032-9E70-090525D574F2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {17264D8C-CF5A-4032-9E70-090525D574F2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {17264D8C-CF5A-4032-9E70-090525D574F2}.Release|Any CPU.Build.0 = Release|Any CPU {41F4FF6F-0E65-439C-9091-BA2C8E25BAE0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {41F4FF6F-0E65-439C-9091-BA2C8E25BAE0}.Debug|Any CPU.Build.0 = Debug|Any CPU {41F4FF6F-0E65-439C-9091-BA2C8E25BAE0}.Release|Any CPU.ActiveCfg = Release|Any CPU {41F4FF6F-0E65-439C-9091-BA2C8E25BAE0}.Release|Any CPU.Build.0 = Release|Any CPU - {3847A7F4-3F6B-4626-AF4C-8FDFBA6165F2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {3847A7F4-3F6B-4626-AF4C-8FDFBA6165F2}.Debug|Any CPU.Build.0 = Debug|Any CPU - {3847A7F4-3F6B-4626-AF4C-8FDFBA6165F2}.Release|Any CPU.ActiveCfg = Release|Any CPU - {3847A7F4-3F6B-4626-AF4C-8FDFBA6165F2}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection GlobalSection(NestedProjects) = preSolution - {17264D8C-CF5A-4032-9E70-090525D574F2} = {C622ACD2-76FB-4B6D-844D-C0C406C73214} {0075830E-89B6-4E6B-9C49-CA377746AB4C} = {C622ACD2-76FB-4B6D-844D-C0C406C73214} + {17264D8C-CF5A-4032-9E70-090525D574F2} = {C622ACD2-76FB-4B6D-844D-C0C406C73214} {41F4FF6F-0E65-439C-9091-BA2C8E25BAE0} = {C622ACD2-76FB-4B6D-844D-C0C406C73214} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution diff --git a/EventHook.sln.DotSettings b/src/EventHook.sln.DotSettings similarity index 100% rename from EventHook.sln.DotSettings rename to src/EventHook.sln.DotSettings diff --git a/EventHook/ApplicationWatcher.cs b/src/EventHook/ApplicationWatcher.cs similarity index 100% rename from EventHook/ApplicationWatcher.cs rename to src/EventHook/ApplicationWatcher.cs diff --git a/EventHook/ClipboardWatcher.cs b/src/EventHook/ClipboardWatcher.cs similarity index 100% rename from EventHook/ClipboardWatcher.cs rename to src/EventHook/ClipboardWatcher.cs diff --git a/EventHook/EventHook.Docs.csproj b/src/EventHook/EventHook.Docs.csproj similarity index 100% rename from EventHook/EventHook.Docs.csproj rename to src/EventHook/EventHook.Docs.csproj diff --git a/EventHook/EventHook.csproj b/src/EventHook/EventHook.csproj similarity index 94% rename from EventHook/EventHook.csproj rename to src/EventHook/EventHook.csproj index 32bbd3f..a041e43 100644 --- a/EventHook/EventHook.csproj +++ b/src/EventHook/EventHook.csproj @@ -14,7 +14,7 @@ ..\ true - ..\.nuget + ..\..\.nuget .. @@ -94,12 +94,12 @@ - + This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - +