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);
     }
 }
예제 #2
0
 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;
     }
 }