public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///BusLineChoose.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            pageRoot              = (global::BusReminder.Common.LayoutAwarePage) this.FindName("pageRoot");
            itemsViewSource       = (global::Windows.UI.Xaml.Data.CollectionViewSource) this.FindName("itemsViewSource");
            LayoutRoot            = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("LayoutRoot");
            Output                = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("Output");
            Input                 = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("Input");
            ChooseLine            = (global::Windows.UI.Xaml.Controls.Button) this.FindName("ChooseLine");
            GotoMapView           = (global::Windows.UI.Xaml.Controls.Button) this.FindName("GotoMapView");
            GotoReminder          = (global::Windows.UI.Xaml.Controls.Button) this.FindName("GotoReminder");
            lvBuses               = (global::Windows.UI.Xaml.Controls.ListView) this.FindName("lvBuses");
            ApplicationViewStates = (global::Windows.UI.Xaml.VisualStateGroup) this.FindName("ApplicationViewStates");
            FullScreenLandscape   = (global::Windows.UI.Xaml.VisualState) this.FindName("FullScreenLandscape");
            Filled                = (global::Windows.UI.Xaml.VisualState) this.FindName("Filled");
            FullScreenPortrait    = (global::Windows.UI.Xaml.VisualState) this.FindName("FullScreenPortrait");
            Snapped               = (global::Windows.UI.Xaml.VisualState) this.FindName("Snapped");
        }
Beispiel #2
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///MapView.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            pageRoot = (global::BusReminder.Common.LayoutAwarePage)this.FindName("pageRoot");
            LayoutRoot = (global::Windows.UI.Xaml.Controls.Grid)this.FindName("LayoutRoot");
            Output = (global::Windows.UI.Xaml.Controls.Grid)this.FindName("Output");
            Input = (global::Windows.UI.Xaml.Controls.Grid)this.FindName("Input");
            GotoQueryCity = (global::Windows.UI.Xaml.Controls.Button)this.FindName("GotoQueryCity");
            GotoMapView = (global::Windows.UI.Xaml.Controls.Button)this.FindName("GotoMapView");
            GotoReminder = (global::Windows.UI.Xaml.Controls.Button)this.FindName("GotoReminder");
            ApplicationViewStates = (global::Windows.UI.Xaml.VisualStateGroup)this.FindName("ApplicationViewStates");
            FullScreenLandscape = (global::Windows.UI.Xaml.VisualState)this.FindName("FullScreenLandscape");
            Filled = (global::Windows.UI.Xaml.VisualState)this.FindName("Filled");
            FullScreenPortrait = (global::Windows.UI.Xaml.VisualState)this.FindName("FullScreenPortrait");
            Snapped = (global::Windows.UI.Xaml.VisualState)this.FindName("Snapped");
        }
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///ItemsPage1.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            pageRoot              = (global::BusReminder.Common.LayoutAwarePage) this.FindName("pageRoot");
            itemsViewSource       = (global::Windows.UI.Xaml.Data.CollectionViewSource) this.FindName("itemsViewSource");
            itemGridView          = (global::Windows.UI.Xaml.Controls.GridView) this.FindName("itemGridView");
            itemListView          = (global::Windows.UI.Xaml.Controls.ListView) this.FindName("itemListView");
            backButton            = (global::Windows.UI.Xaml.Controls.Button) this.FindName("backButton");
            pageTitle             = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("pageTitle");
            ApplicationViewStates = (global::Windows.UI.Xaml.VisualStateGroup) this.FindName("ApplicationViewStates");
            FullScreenLandscape   = (global::Windows.UI.Xaml.VisualState) this.FindName("FullScreenLandscape");
            Filled             = (global::Windows.UI.Xaml.VisualState) this.FindName("Filled");
            FullScreenPortrait = (global::Windows.UI.Xaml.VisualState) this.FindName("FullScreenPortrait");
            Snapped            = (global::Windows.UI.Xaml.VisualState) this.FindName("Snapped");
        }