void HandleTouchUpInside (object sender, EventArgs e) { ResultLabel.Text = "loading..."; ResultTextView.Text = "loading...\n"; DownloadedImageView.Image = null; int intResult; downloaded += (len) => { intResult = len; ResultLabel.Text = "Length: " + intResult ; }; DownloadHomepage(); }
void HandleTouchUpInside(object sender, EventArgs e) { ResultLabel.Text = "loading..."; ResultTextView.Text = "loading...\n"; DownloadedImageView.Image = null; int intResult; downloaded += (len) => { intResult = len; ResultLabel.Text = "Length: " + intResult; }; DownloadHomepage(); }
void HandleTouchUpInside(object sender, EventArgs e) { ResultLabel.Text = "loading..."; ResultTextView.Text = "loading...\n"; DownloadedImageView.Source = null; int intResult; downloaded += (len) => { intResult = len; ResultLabel.Text = "Length: " + intResult; }; #if OLD // it's actually impossible to really show this old-style in a Windows Store app // the non-async APIs just don't exist :-) DownloadHomepage(); #endif }