using System; namespace Terminal.Gui { public partial class Wizard { /// /// for events. /// public class StepChangeEventArgs : EventArgs { /// /// The current (or previous) . /// public WizardStep OldStep { get; } /// /// The the is changing to or has changed to. /// public WizardStep NewStep { get; } /// /// Event handlers can set to true before returning to cancel the step transition. /// public bool Cancel { get; set; } /// /// Initializes a new instance of /// /// The current . /// The new . public StepChangeEventArgs (WizardStep oldStep, WizardStep newStep) { OldStep = oldStep; NewStep = newStep; Cancel = false; } } } }