public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///ReadingPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application); pageRoot = (global::Windows.UI.Xaml.Controls.Page) this.FindName("pageRoot"); VolumesViewSource = (global::Windows.UI.Xaml.Data.CollectionViewSource) this.FindName("VolumesViewSource"); ChaptersViewSource = (global::Windows.UI.Xaml.Data.CollectionViewSource) this.FindName("ChaptersViewSource"); ContentForegroundBrush = (global::Windows.UI.Xaml.Media.SolidColorBrush) this.FindName("ContentForegroundBrush"); ContentBackgroundBrush = (global::Windows.UI.Xaml.Media.SolidColorBrush) this.FindName("ContentBackgroundBrush"); CommentedTextBrush = (global::Windows.UI.Xaml.Media.SolidColorBrush) this.FindName("CommentedTextBrush"); IllustrationViewTemplate = (global::Windows.UI.Xaml.DataTemplate) this.FindName("IllustrationViewTemplate"); CommentsFlyout = (global::Windows.UI.Xaml.Controls.Flyout) this.FindName("CommentsFlyout"); ImagePreviewFlyout = (global::Windows.UI.Xaml.Controls.Flyout) this.FindName("ImagePreviewFlyout"); CommentInputBox = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("CommentInputBox"); PageBottomCommandBar = (global::Windows.UI.Xaml.Controls.CommandBar) this.FindName("PageBottomCommandBar"); FontSizeButton = (global::Windows.UI.Xaml.Controls.AppBarButton) this.FindName("FontSizeButton"); ReadingStyleButton = (global::Windows.UI.Xaml.Controls.AppBarButton) this.FindName("ReadingStyleButton"); CommentEnableButton = (global::Windows.UI.Xaml.Controls.AppBarToggleButton) this.FindName("CommentEnableButton"); ShareButton = (global::Windows.UI.Xaml.Controls.AppBarButton) this.FindName("ShareButton"); PinButton = (global::Windows.UI.Xaml.Controls.AppBarToggleButton) this.FindName("PinButton"); PrimaryColumn = (global::Windows.UI.Xaml.Controls.ColumnDefinition) this.FindName("PrimaryColumn"); SecondaryColumn = (global::Windows.UI.Xaml.Controls.ColumnDefinition) this.FindName("SecondaryColumn"); IndexPanelStates = (global::Windows.UI.Xaml.VisualStateGroup) this.FindName("IndexPanelStates"); LoadingStates = (global::Windows.UI.Xaml.VisualStateGroup) this.FindName("LoadingStates"); FlowOrientation = (global::Windows.UI.Xaml.VisualStateGroup) this.FindName("FlowOrientation"); HorizontalFlow = (global::Windows.UI.Xaml.VisualState) this.FindName("HorizontalFlow"); VerticalFlow = (global::Windows.UI.Xaml.VisualState) this.FindName("VerticalFlow"); Ready = (global::Windows.UI.Xaml.VisualState) this.FindName("Ready"); Loading = (global::Windows.UI.Xaml.VisualState) this.FindName("Loading"); IndexClosed = (global::Windows.UI.Xaml.VisualState) this.FindName("IndexClosed"); IndexOpen = (global::Windows.UI.Xaml.VisualState) this.FindName("IndexOpen"); ContentExpandedToCollapsedKeyFrame = (global::Windows.UI.Xaml.Media.Animation.EasingDoubleKeyFrame) this.FindName("ContentExpandedToCollapsedKeyFrame"); IndexExpandedToCollapsedKeyFrame = (global::Windows.UI.Xaml.Media.Animation.EasingDoubleKeyFrame) this.FindName("IndexExpandedToCollapsedKeyFrame"); ContentCollapsedToExpandedKeyFrame = (global::Windows.UI.Xaml.Media.Animation.EasingDoubleKeyFrame) this.FindName("ContentCollapsedToExpandedKeyFrame"); IndexCollapsedToExpandedKeyFrame = (global::Windows.UI.Xaml.Media.Animation.EasingDoubleKeyFrame) this.FindName("IndexCollapsedToExpandedKeyFrame"); TitlePanel = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("TitlePanel"); IndexRegion = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("IndexRegion"); ContentRegion = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("ContentRegion"); LoadingIndicator = (global::Windows.UI.Xaml.Controls.ProgressRing) this.FindName("LoadingIndicator"); ContentScrollViewer = (global::Windows.UI.Xaml.Controls.ScrollViewer) this.FindName("ContentScrollViewer"); VerticalPrevButton = (global::Windows.UI.Xaml.Controls.Button) this.FindName("VerticalPrevButton"); VerticalNextButton = (global::Windows.UI.Xaml.Controls.Button) this.FindName("VerticalNextButton"); HorizontalPrevButton = (global::Windows.UI.Xaml.Controls.Button) this.FindName("HorizontalPrevButton"); HorizontalNextButton = (global::Windows.UI.Xaml.Controls.Button) this.FindName("HorizontalNextButton"); ContentColumns = (global::LightNovel.Controls.RichTextColumns) this.FindName("ContentColumns"); ContentTextBlock = (global::Windows.UI.Xaml.Controls.RichTextBlock) this.FindName("ContentTextBlock"); VolumeListMeanu = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("VolumeListMeanu"); ChapterListMeanu = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("ChapterListMeanu"); ChapterListView = (global::Windows.UI.Xaml.Controls.ListView) this.FindName("ChapterListView"); VolumeListView = (global::Windows.UI.Xaml.Controls.ListView) this.FindName("VolumeListView"); backButton = (global::Windows.UI.Xaml.Controls.Button) this.FindName("backButton"); IndexButton = (global::Windows.UI.Xaml.Controls.AppBarToggleButton) this.FindName("IndexButton"); pageTitle = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("pageTitle"); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///Controls/RichTextView.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application); ContentScrollViewer = (global::Windows.UI.Xaml.Controls.ScrollViewer) this.FindName("ContentScrollViewer"); ContentColumns = (global::LightNovel.Controls.RichTextColumns) this.FindName("ContentColumns"); ContentTextBlock = (global::Windows.UI.Xaml.Controls.RichTextBlock) this.FindName("ContentTextBlock"); }