Source/Wizard/WizardPageChangeEventArgs.cs
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Text;
namespace DevComponents.DotNetBar
{
#region WizardPageChangeEventArgs
/// <summary>
/// Provides data for Wizard Page Change events.
/// </summary>
public class WizardPageChangeEventArgs : EventArgs
{
/// <summary>
/// Specifies the new active wizard page. You can change this argument when handling WizardPageChanging event and provide newly selected page of your own.
/// </summary>
public WizardPage NewPage = null;
/// <summary>
/// Specifies page that was or currently is active.
/// </summary>
public WizardPage OldPage = null;
/// <summary>
/// Indicates the wizard button that was source of page change.
/// </summary>
public eWizardPageChangeSource PageChangeSource = eWizardPageChangeSource.NextButton;
/// <summary>
/// Creates new instance of the class with default values.
/// </summary>
/// <param name="newPage">New wizard page</param>
/// <param name="oldPage">Old or current wizard page</param>
/// <param name="pageChangeSource">Page change source</param>
public WizardPageChangeEventArgs(WizardPage newPage, WizardPage oldPage, eWizardPageChangeSource pageChangeSource)
{
this.NewPage = newPage;
this.OldPage = oldPage;
this.PageChangeSource = pageChangeSource;
}
}
#endregion
#region WizardCancelPageChangeEventArgs
/// <summary>
/// Provides data for Wizard Page Change events.
/// </summary>
public class WizardCancelPageChangeEventArgs : WizardPageChangeEventArgs
{
/// <summary>
/// Allows you to cancel the page change.
/// </summary>
public bool Cancel = false;
/// <summary>
/// Creates new instance of the class with default values.
/// </summary>
/// <param name="newPage">New wizard page</param>
/// <param name="oldPage">Old or current wizard page</param>
/// <param name="pageChangeSource">Page change source</param>
public WizardCancelPageChangeEventArgs(WizardPage newPage, WizardPage oldPage, eWizardPageChangeSource pageChangeSource) : base(newPage, oldPage, pageChangeSource)
{
后面还有 16 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。