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

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

            pageRoot              = (global::LibraryProject.App.Common.LayoutAwarePage) this.FindName("pageRoot");
            gotoSavedButton       = (global::Windows.UI.Xaml.Controls.Button) this.FindName("gotoSavedButton");
            saveButton            = (global::Windows.UI.Xaml.Controls.Button) this.FindName("saveButton");
            removeButton          = (global::Windows.UI.Xaml.Controls.Button) this.FindName("removeButton");
            homeButton            = (global::Windows.UI.Xaml.Controls.Button) this.FindName("homeButton");
            ItemDetailFrame       = (global::Windows.UI.Xaml.Controls.Frame) this.FindName("ItemDetailFrame");
            BookListLabel         = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("BookListLabel");
            booksList             = (global::Windows.UI.Xaml.Controls.ListView) this.FindName("booksList");
            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");
        }
예제 #2
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

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

            pageRoot              = (global::LibraryProject.App.Common.LayoutAwarePage) this.FindName("pageRoot");
            btnSearchPage         = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnSearchPage");
            ddlKeyword            = (global::Windows.UI.Xaml.Controls.ComboBox) this.FindName("ddlKeyword");
            ddlCategory           = (global::Windows.UI.Xaml.Controls.ComboBox) this.FindName("ddlCategory");
            txtSearch             = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("txtSearch");
            lblSearch             = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("lblSearch");
            lblCategory           = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("lblCategory");
            lblKeyword            = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("lblKeyword");
            btnSearch             = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnSearch");
            lblCounter            = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("lblCounter");
            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");
        }
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

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

            pageRoot              = (global::LibraryProject.App.Common.LayoutAwarePage) this.FindName("pageRoot");
            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");
        }
예제 #4
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///Pages/BookDetails.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            pageRoot = (global::LibraryProject.App.Common.LayoutAwarePage)this.FindName("pageRoot");
            gotoSavedButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("gotoSavedButton");
            saveButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("saveButton");
            removeButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("removeButton");
            homeButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("homeButton");
            ItemDetailFrame = (global::Windows.UI.Xaml.Controls.Frame)this.FindName("ItemDetailFrame");
            BookListLabel = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("BookListLabel");
            booksList = (global::Windows.UI.Xaml.Controls.ListView)this.FindName("booksList");
            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");
        }