private void ShowAttendanceAnalysis() { if (_curAttendeceAnalysisUI == null || _curAttendeceAnalysisViewModel == null) { _curAttendeceAnalysisUI = new AttendeceAnalysisUI(); _curAttendeceAnalysisViewModel = new AttendeceAnalysisViewModel(ModelSource.AttendanceResults); } TurnToAttPage(_curAttendeceAnalysisUI, _curAttendeceAnalysisViewModel); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.root = ((HRManagerClient.AttendeceAnalysisUI)(target)); return; } this._contentLoaded = true; }