예제 #1
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/FBReader.App;component/Views/Pages/ReadPage.xaml", System.UriKind.Relative));
     this.Page = ((Microsoft.Phone.Controls.PhoneApplicationPage)(this.FindName("Page")));
     this.LayoutRoot = ((System.Windows.Controls.Canvas)(this.FindName("LayoutRoot")));
     this.PageCanvas = ((FBReader.App.Controls.ThreePagePanel)(this.FindName("PageCanvas")));
     this.ColorSelector = ((FBReader.App.Views.Controls.ColorSelectorControl)(this.FindName("ColorSelector")));
     this.TranslationControl = ((FBReader.App.Controls.TranslationControl)(this.FindName("TranslationControl")));
     this.AppBar = ((FBReader.App.Controls.ApplicationBar.FBReaderApplicationBar)(this.FindName("AppBar")));
     this.Brightness = ((System.Windows.Controls.Canvas)(this.FindName("Brightness")));
     this.ShareMethodPicker = ((Telerik.Windows.Controls.RadListPicker)(this.FindName("ShareMethodPicker")));
 }
예제 #2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/FBReader.App;component/Views/Pages/ReadPage.xaml", System.UriKind.Relative));
     this.Page               = ((Microsoft.Phone.Controls.PhoneApplicationPage)(this.FindName("Page")));
     this.LayoutRoot         = ((System.Windows.Controls.Canvas)(this.FindName("LayoutRoot")));
     this.PageCanvas         = ((FBReader.App.Controls.ThreePagePanel)(this.FindName("PageCanvas")));
     this.ColorSelector      = ((FBReader.App.Views.Controls.ColorSelectorControl)(this.FindName("ColorSelector")));
     this.TranslationControl = ((FBReader.App.Controls.TranslationControl)(this.FindName("TranslationControl")));
     this.AppBar             = ((FBReader.App.Controls.ApplicationBar.FBReaderApplicationBar)(this.FindName("AppBar")));
     this.Brightness         = ((System.Windows.Controls.Canvas)(this.FindName("Brightness")));
     this.ShareMethodPicker  = ((Telerik.Windows.Controls.RadListPicker)(this.FindName("ShareMethodPicker")));
 }