Пример #1
0
 public UserDialog(Forum site, String userName)
 {
     this.Build ();
     this.site = site;
     this.userName = userName;
     this.userId = site.getUserId (userName);
     if (!userId.Equals(string.Empty)) {
         this.image2.Pixbuf = new Gdk.Pixbuf (getAvatar ());
         this.labelNumPosts.Text = site.getUserPostCount (userName).ToString ();
         this.labelLastActivity.Text = site.getUserLastActivityTime (userName).ToString ();
         userInfoLoaded = true;
     }
 }