forked from ReClassNET/ReClass.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNodeClickEventArgs.cs
More file actions
36 lines (28 loc) · 802 Bytes
/
NodeClickEventArgs.cs
File metadata and controls
36 lines (28 loc) · 802 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
using System;
using System.Diagnostics.Contracts;
using System.Drawing;
using System.Windows.Forms;
using ReClassNET.Memory;
using ReClassNET.Nodes;
namespace ReClassNET.Controls
{
public class NodeClickEventArgs : EventArgs
{
public BaseNode Node { get; }
public IntPtr Address { get; }
public MemoryBuffer Memory { get; }
public MouseButtons Button { get; }
public Point Location { get; }
public NodeClickEventArgs(BaseNode node, IntPtr address, MemoryBuffer memory, MouseButtons button, Point location)
{
Contract.Requires(node != null);
Contract.Requires(memory != null);
Node = node;
Address = address;
Memory = memory;
Button = button;
Location = location;
}
}
public delegate void NodeClickEventHandler(object sender, NodeClickEventArgs args);
}