2025-11-22 02:16:10 +01:00
|
|
|
|
using ElectronNET.API.Entities;
|
|
|
|
|
|
|
|
|
|
|
|
namespace ElectronNET.API
|
2017-10-18 05:30:36 +02:00
|
|
|
|
{
|
2017-10-24 21:43:27 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
///
|
|
|
|
|
|
/// </summary>
|
2017-10-18 05:30:36 +02:00
|
|
|
|
public class TrayClickEventArgs
|
|
|
|
|
|
{
|
2017-10-24 21:43:27 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets or sets a value indicating whether [alt key].
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <value>
|
|
|
|
|
|
/// <c>true</c> if [alt key]; otherwise, <c>false</c>.
|
|
|
|
|
|
/// </value>
|
2017-10-18 05:30:36 +02:00
|
|
|
|
public bool AltKey { get; set; }
|
2017-10-24 21:43:27 +02:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets or sets a value indicating whether [shift key].
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <value>
|
|
|
|
|
|
/// <c>true</c> if [shift key]; otherwise, <c>false</c>.
|
|
|
|
|
|
/// </value>
|
2017-10-18 05:30:36 +02:00
|
|
|
|
public bool ShiftKey { get; set; }
|
2017-10-24 21:43:27 +02:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets or sets a value indicating whether [control key].
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <value>
|
|
|
|
|
|
/// <c>true</c> if [control key]; otherwise, <c>false</c>.
|
|
|
|
|
|
/// </value>
|
2017-10-18 05:30:36 +02:00
|
|
|
|
public bool CtrlKey { get; set; }
|
2017-10-24 21:43:27 +02:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets or sets a value indicating whether [meta key].
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <value>
|
|
|
|
|
|
/// <c>true</c> if [meta key]; otherwise, <c>false</c>.
|
|
|
|
|
|
/// </value>
|
2017-10-18 05:30:36 +02:00
|
|
|
|
public bool MetaKey { get; set; }
|
2025-11-22 02:16:10 +01:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The bounds of tray icon.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public Rectangle Bounds { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The position of the event.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public Point Position { get; set; }
|
2017-10-18 05:30:36 +02:00
|
|
|
|
}
|
|
|
|
|
|
}
|