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,59 @@
using System;
using System.Text;
using System.Drawing;
namespace DevComponents.DotNetBar
{
/// <summary>
/// Provides data for LayoutWizardButtons event.
/// </summary>
public class WizardButtonsLayoutEventArgs : EventArgs
{
/// <summary>
/// Gets or sets bounds of Back button.
/// </summary>
public Rectangle BackButtonBounds = Rectangle.Empty;
/// <summary>
/// Gets or sets bounds of Next button.
/// </summary>
public Rectangle NextButtonBounds = Rectangle.Empty;
/// <summary>
/// Gets or sets bounds of Finish button.
/// </summary>
public Rectangle FinishButtonBounds = Rectangle.Empty;
/// <summary>
/// Gets or sets bounds of Cancel button.
/// </summary>
public Rectangle CancelButtonBounds = Rectangle.Empty;
/// <summary>
/// Gets or sets bounds of Help button.
/// </summary>
public Rectangle HelpButtonBounds = Rectangle.Empty;
/// <summary>
/// Creates new instance of the class.
/// </summary>
public WizardButtonsLayoutEventArgs() { }
/// <summary>
/// Creates new instance of the class and initializes it with default values.
/// </summary>
public WizardButtonsLayoutEventArgs(Rectangle backBounds, Rectangle nextBounds, Rectangle finishBounds, Rectangle cancelBounds, Rectangle helpBounds)
{
this.BackButtonBounds = backBounds;
this.NextButtonBounds = nextBounds;
this.FinishButtonBounds = finishBounds;
this.CancelButtonBounds = cancelBounds;
this.HelpButtonBounds = helpBounds;
}
}
/// <summary>
/// Defines delegate for WizardPageChange events.
/// </summary>
public delegate void WizardButtonsLayoutEventHandler(object sender, WizardButtonsLayoutEventArgs e);
}