Ejemplo n.º 1
0
 private void ProfileSettings_Load(object sender, System.EventArgs e)
 {
     SKore.BeginGetPlayerAvatar(Program.Account.PlayerName, Program.Account.Hotel, new AsyncCallback((iAr) =>
     {
         Image PA = SKore.EndGetPlayerAvatar(iAr);
         Invoke(new Action(() => { AvatarPctbx.Image = PA; }));
     }), null);
     SKore.BeginGetPlayerMotto(Program.Account.PlayerName, Program.Account.Hotel, new AsyncCallback((iAr) =>
     {
         string PM = SKore.EndGetPlayerMotto(iAr);
         Invoke(new Action(() => { MottoTxt.Text = PM; }));
     }), null);
     SKore.BeginGetPlayerClothes(Program.Account.PlayerName, Program.Account.Hotel, new AsyncCallback((iAr) =>
     {
         string PC = SKore.EndGetPlayerClothes(iAr);
         Invoke(new Action(() => { ClothesTxt.Text = PC; }));
     }), null);
 }