コード例 #1
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///CommentPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            pageRoot = (global::TheBellyofAuthority.Common.LayoutAwarePage)this.FindName("pageRoot");
            commentBar = (global::Windows.UI.Xaml.Controls.AppBar)this.FindName("commentBar");
            DeleteButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("DeleteButton");
            EditButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("EditButton");
            commentThread = (global::Windows.UI.Xaml.Controls.ListView)this.FindName("commentThread");
            commentLabel = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("commentLabel");
            commentBox = (global::Windows.UI.Xaml.Controls.TextBox)this.FindName("commentBox");
            postButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("postButton");
            backButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("backButton");
            pageTitle = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("pageTitle");
            UserPanel = (global::Windows.UI.Xaml.Controls.StackPanel)this.FindName("UserPanel");
            progBar = (global::Windows.UI.Xaml.Controls.ProgressBar)this.FindName("progBar");
            LabelBox = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("LabelBox");
            UserBox = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("UserBox");
            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:///HomePage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            pageRoot = (global::TheBellyofAuthority.Common.LayoutAwarePage)this.FindName("pageRoot");
            itemsViewSource = (global::Windows.UI.Xaml.Data.CollectionViewSource)this.FindName("itemsViewSource");
            LikeButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("LikeButton");
            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");
            UserPanel = (global::Windows.UI.Xaml.Controls.StackPanel)this.FindName("UserPanel");
            FeedProgressBar = (global::Windows.UI.Xaml.Controls.ProgressBar)this.FindName("FeedProgressBar");
            LabelBox = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("LabelBox");
            UserBox = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("UserBox");
            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");
        }