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();
		}
Пример #2
0
        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();
        }
Пример #3
0
        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
        }