Esempio n. 1
0
        /// <summary>
        /// Navigates to the next node or view.
        /// </summary>
        /// <param name="nextNode">The node or view to navigate to.</param>
        public override void Navigate(string nextNode)
        {
            string previousView = CurrentState.CurrentView;

            CurrentState.NavigateValue = nextNode;

            UIPManager.InvokeEventHandlers(CurrentState);
            CurrentState.CurrentView   = CurrentState.NavigateValue;
            CurrentState.NavigateValue = "";
            CurrentState.Save();

            try
            {
                ViewManager.ActivateView(previousView, CurrentState.CurrentView, this);
            }
            catch (Exception ex)
            {
                throw new UIPException(Resource.ResourceManager.FormatMessage(Resource.Exceptions.RES_ExceptionCantActivateView, nextNode) + UIPException.GetFirstExceptionMessage(ex), ex);
            }
        }
Esempio n. 2
0
 private void WizardContainer_Closed(object sender, EventArgs e)
 {
     UIPManager.OnCompletion();
 }