Пример #1
0
        public TopperPage()
        {
            InitializeComponent();

            var app = App.Current as App;

            topper = app.selectedTopper;

            //Displays the details
            string say1 = topper.Say;

            webBrowserSay.NavigateToString(say1);


            // show topper's details in page
            nameTextBlock.Text       = topper.Name;
            percentileTextBlock.Text = "Percentile : " + topper.Percentile;
            yearTextBlock.Text       = "Year : " + topper.Year;

            //saysTextBlock.Text = topper.Say;

            //For displaying image

            BitmapImage image = new BitmapImage();
            string      photo = topper.Photo;

            image.UriSource      = new Uri(photo);
            photoOfTopper.Source = image;
        }
Пример #2
0
        public TopperPage()
        {
            InitializeComponent();

            var app = App.Current as App;
            topper = app.selectedTopper;

            //Displays the details
            string say1 = topper.Say;
            webBrowserSay.NavigateToString(say1);

            // show topper's details in page
            nameTextBlock.Text = topper.Name;
            percentileTextBlock.Text = "Percentile : " + topper.Percentile;
            yearTextBlock.Text = "Year : " + topper.Year;

            //saysTextBlock.Text = topper.Say;

            //For displaying image

            BitmapImage image = new BitmapImage();
            string photo = topper.Photo;
            image.UriSource = new Uri(photo);
            photoOfTopper.Source = image;
        }
Пример #3
0
        public TopperPage()
        {
            InitializeComponent();

            var app = App.Current as App;
            topper = app.selectedTopper;

            // show topper's details in page
            nameTextBlock.Text = topper.Name;
            percentileTextBlock.Text =topper.Percentile;
            yearTextBlock.Text =topper.Year;

            //saysTextBlock.Text = topper.Say;

            //For displaying image

               /* BitmapImage image = new BitmapImage();
            string photo = topper.Photo;
            image.UriSource = new Uri(photo);
            photoOfTopper.Source = image;*/
        }
Пример #4
0
        public TopperPage()
        {
            InitializeComponent();

            var app = App.Current as App;

            topper = app.selectedTopper;

            // show topper's details in page
            nameTextBlock.Text       = topper.Name;
            percentileTextBlock.Text = topper.Percentile;
            yearTextBlock.Text       = topper.Year;

            //saysTextBlock.Text = topper.Say;

            //For displaying image

            /* BitmapImage image = new BitmapImage();
             * string photo = topper.Photo;
             * image.UriSource = new Uri(photo);
             * photoOfTopper.Source = image;*/
        }