public override bool OnActivate() { if (!Visited) { Initialize(); } if (_state == RuntimeConfigState.Skip) { if (Wizard.MovingNext) { // Schedule a call to Wizard.OnNext() Wizard.BeginInvoke((MethodInvoker)Wizard.OnNext); } else { Debug.Assert(Wizard.MovingPrevious); // Schedule a call to Wizard.OnPrevious() Wizard.BeginInvoke((MethodInvoker)Wizard.OnPrevious); } } return(base.OnActivate()); }