public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/FBReader.App;component/Controls/ApplicationBar/FBReaderApplicationBar.xaml", System.UriKind.Relative));
     this.AppBar = ((System.Windows.Controls.UserControl)(this.FindName("AppBar")));
     this.RootBorder = ((System.Windows.Controls.Border)(this.FindName("RootBorder")));
     this.Slider = ((FBReader.App.Controls.ApplicationBar.FBSlider)(this.FindName("Slider")));
     this.IconButtonsGrid = ((System.Windows.Controls.Grid)(this.FindName("IconButtonsGrid")));
     this.IconButtonsPanel = ((System.Windows.Controls.ItemsControl)(this.FindName("IconButtonsPanel")));
     this.PageSelectionButtonsPanel = ((System.Windows.Controls.StackPanel)(this.FindName("PageSelectionButtonsPanel")));
     this.MenuScroll = ((System.Windows.Controls.ScrollViewer)(this.FindName("MenuScroll")));
 }
Пример #2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/FBReader.App;component/Controls/ApplicationBar/FBReaderApplicationBar.xaml", System.UriKind.Relative));
     this.AppBar                    = ((System.Windows.Controls.UserControl)(this.FindName("AppBar")));
     this.RootBorder                = ((System.Windows.Controls.Border)(this.FindName("RootBorder")));
     this.Slider                    = ((FBReader.App.Controls.ApplicationBar.FBSlider)(this.FindName("Slider")));
     this.IconButtonsGrid           = ((System.Windows.Controls.Grid)(this.FindName("IconButtonsGrid")));
     this.IconButtonsPanel          = ((System.Windows.Controls.ItemsControl)(this.FindName("IconButtonsPanel")));
     this.PageSelectionButtonsPanel = ((System.Windows.Controls.StackPanel)(this.FindName("PageSelectionButtonsPanel")));
     this.MenuScroll                = ((System.Windows.Controls.ScrollViewer)(this.FindName("MenuScroll")));
 }