Ejemplo n.º 1
0
        private void buttonTest_Click(object sender, EventArgs e)
        {
            HTEntities.TeamDetails.TeamDetails teamDetails = new HTEntities.TeamDetails.TeamDetails();
            oAuth.ExchangeRequestTokenForAccessToken(textBoxSecurityCode.Text, out userProfile);

            Core.DownloadManager downloadManager = new DownloadManager(userProfile);

            this.Enabled = false;

            downloadManager.DownloadUserBasicData(out teamDetails);

            this.Enabled = true;

            LoadUserBasicData(teamDetails);

            ToggleControls();
        }