private void AddUserOverview() { if (userRef.UserType == 0) { JSUserOverviewUC uo = new JSUserOverviewUC(userRef, this); this.UserOverviewGrid.Children.Add(uo); } else if (userRef.UserType == 1) { RecUserOverviewUC uo = new RecUserOverviewUC(userRef, this); this.UserOverviewGrid.Children.Add(uo); } }
private void AddUserOverview() { if (userRef.UserType == 0) { JSUserOverviewUC uo = new JSUserOverviewUC(userRef, this); this.UserOverviewGrid.Children.Add(uo); PlaceholderTitle.Content = "Add CV Details To See Content Here"; PlaceholderTitle.Visibility = Visibility.Visible; } else if (userRef.UserType == 1) { RecUserOverviewUC uo = new RecUserOverviewUC(userRef, this); this.UserOverviewGrid.Children.Add(uo); PlaceholderTitle.Content = "Add Job Posting To See Content Here"; PlaceholderTitle.Visibility = Visibility.Visible; } }