Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

28 řádky
808 B

  1. // This code is distributed under MIT license.
  2. // Copyright (c) 2015 George Mamaladze
  3. // See license.txt or https://mit-license.org/
  4. using System;
  5. namespace Gma.System.MouseKeyHook.HotKeys
  6. {
  7. /// <summary>
  8. /// The event arguments passed when a HotKeySet's OnHotKeysDownHold event is triggered.
  9. /// </summary>
  10. public sealed class HotKeyArgs : EventArgs
  11. {
  12. /// <summary>
  13. /// Creates an instance of the HotKeyArgs.
  14. /// <param name="triggeredAt">Time when the event was triggered</param>
  15. /// </summary>
  16. public HotKeyArgs(DateTime triggeredAt)
  17. {
  18. Time = triggeredAt;
  19. }
  20. /// <summary>
  21. /// Time when the event was triggered
  22. /// </summary>
  23. public DateTime Time { get; }
  24. }
  25. }