DotNet 4.8.1 build of DotNetBar

This commit is contained in:
2025-02-07 10:35:23 -05:00
parent 33439b63a0
commit 6b0a5d60f4
2609 changed files with 989814 additions and 7 deletions

View File

@@ -0,0 +1,51 @@
using System;
using System.Windows.Forms;
namespace DevComponents.AdvTree
{
/// <summary>
/// Represents event arguments for node mouse based events.
/// </summary>
public class TreeNodeMouseEventArgs:EventArgs
{
public TreeNodeMouseEventArgs(Node node, MouseButtons button, int clicks, int delta, int x, int y)
{
this.Node = node;
this.Button = button;
this.Clicks = clicks;
this.Delta = delta;
this.X = x;
this.Y = y;
}
/// <summary>
/// Gets node affected by mouse action.
/// </summary>
public readonly Node Node;
/// <summary>
/// Gets which mouse button was pressed.
/// </summary>
public readonly MouseButtons Button;
/// <summary>
/// Gets the number of times the mouse button was pressed and released.
/// </summary>
public readonly int Clicks;
/// <summary>
/// Gets a signed count of the number of detents the mouse wheel has rotated. A detent is one notch of the mouse wheel.
/// </summary>
public readonly int Delta;
/// <summary>
/// Gets the x-coordinate of the mouse.
/// </summary>
public readonly int X;
/// <summary>
/// Gets the y-coordinate of the mouse.
/// </summary>
public readonly int Y;
}
}