Ejemplo n.º 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;
        }
Ejemplo n.º 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;
        }
Ejemplo n.º 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;*/
        }
Ejemplo n.º 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;*/
        }