예제 #1
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            Application.LoadComponent(this, new System.Uri("ms-appx:///MainPage.xaml"), Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            bingMap = (Bing.Maps.Map)this.FindName("bingMap");
            headerLabel = (Windows.UI.Xaml.Controls.TextBlock)this.FindName("headerLabel");
        }
        public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            Application.LoadComponent(this, new System.Uri("ms-appx:///BlankPage.xaml"), Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            map = (Bing.Maps.Map)this.FindName("map");
            progressBar = (Windows.UI.Xaml.Controls.ProgressBar)this.FindName("progressBar");
            listViewVenues = (Windows.UI.Xaml.Controls.ListView)this.FindName("listViewVenues");
        }
예제 #3
0
파일: MapMusic.g.i.cs 프로젝트: sagar-sm/Mu
        public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            Application.LoadComponent(this, new System.Uri("ms-appx:///MapMusic.xaml"), Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            pageRoot = (Mu_genotype1.Common.LayoutAwarePage)this.FindName("pageRoot");
            progbar = (Windows.UI.Xaml.Controls.ProgressBar)this.FindName("progbar");
            test = (Windows.UI.Xaml.Controls.Grid)this.FindName("test");
            myMap = (Bing.Maps.Map)this.FindName("myMap");
            SubHeaderTb = (Windows.UI.Xaml.Controls.TextBlock)this.FindName("SubHeaderTb");
            itemsGridView = (Windows.UI.Xaml.Controls.GridView)this.FindName("itemsGridView");
            backButton = (Windows.UI.Xaml.Controls.Button)this.FindName("backButton");
            pageTitle = (Windows.UI.Xaml.Controls.TextBlock)this.FindName("pageTitle");
            FullScreenLandscape = (Windows.UI.Xaml.VisualState)this.FindName("FullScreenLandscape");
            Filled = (Windows.UI.Xaml.VisualState)this.FindName("Filled");
            FullScreenPortrait = (Windows.UI.Xaml.VisualState)this.FindName("FullScreenPortrait");
            Snapped = (Windows.UI.Xaml.VisualState)this.FindName("Snapped");
        }