Exemplo n.º 1
0
 /// <summary>
 /// Causes the <see cref="HotkeyChanged"/> event to be raised.
 /// </summary>
 /// <param name="hotkey"></param>
 private void RaiseHotkeyChangedEvent(Hotkey hotkey)
 {
     _hotkeyChangedEvent?.Invoke(this, new HotkeyChangedEventArgs(hotkey));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Creates a new instance of the <see cref="HotkeyChangedEventArgs"/> class.
 /// </summary>
 /// <param name="hotkey">New hotkey that has been set for the application.</param>
 public HotkeyChangedEventArgs(Hotkey hotkey)
 {
     Hotkey = hotkey;
 }