public CourseRegistrationsWindow(ejsUserInfo user, ejsSessionToken userToken, ejsManagerStage parentStage) { InitializeComponent(); this._currentUserToken = userToken; this._currentUserInfo = user; this._parentStage = parentStage; this.BuildCourseLists(); this._l_CurrentUserName.Content = user.LastName + ", " + user.FirstName; }
private void GoToStage(string StageName) { try { if (this._stages.ContainsKey(StageName) == false) { throw new ApplicationException("Attempted to go to Stage that does not exist:\n" + StageName); } Ellipse ellipseToActivate = this.FindName("_be_" + StageName) as Ellipse; if (this._currentStage != null) { this._currentStage.DeActivate(); } if (this._currentStageMarker != null) { this._currentStageMarker.Visibility = Visibility.Collapsed; } this._stages[StageName].Activate(this._currentUserToken); if (ellipseToActivate != null) { ellipseToActivate.Visibility = Visibility.Visible; } this._currentStage = this._stages[StageName]; this._currentStageMarker = ellipseToActivate; } catch (ApplicationException ex) { MessageBox.Show(ex.Message, "Error", MessageBoxButton.OK, MessageBoxImage.Error); } }
public AddNewCourseWindow(ejsSessionToken Token, ejsManagerStage parentStage) : base(Token, parentStage) { InitializeComponent(); }
public AddNewCourseDocumentWindow(ejsSessionToken userEjsToken, ejsManagerStage parentStage) : base(userEjsToken, parentStage) { InitializeComponent(); }
public AddNewItemWindow(ejsServiceReference.ejsSessionToken userEjsToken, ejsManagerStage parentStage) { this._currentUserToken = userEjsToken; this._parentStage = parentStage; }