Exemplo n.º 1
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/PhotoGallery;component/Page.xaml", System.UriKind.Relative));
     this.stbShowThChooser = ((System.Windows.Media.Animation.Storyboard)(this.FindName("stbShowThChooser")));
     this.stbHideThChooser = ((System.Windows.Media.Animation.Storyboard)(this.FindName("stbHideThChooser")));
     this.grille           = ((System.Windows.Controls.Grid)(this.FindName("grille")));
     this.mainImage        = ((System.Windows.Controls.Image)(this.FindName("mainImage")));
     this.scaleMainImage   = ((System.Windows.Media.ScaleTransform)(this.FindName("scaleMainImage")));
     this.back             = ((System.Windows.Shapes.Path)(this.FindName("back")));
     this.next             = ((System.Windows.Shapes.Path)(this.FindName("next")));
     this.thumbnailChooser = ((System.Windows.Controls.ScrollViewer)(this.FindName("thumbnailChooser")));
     this.list             = ((System.Windows.Controls.StackPanel)(this.FindName("list")));
     this.thChooserPlus    = ((PhotoGallery.Plus)(this.FindName("thChooserPlus")));
     this.albChooser       = ((PhotoGallery.AlbumChooser)(this.FindName("albChooser")));
     this.photoInfo        = ((PhotoGallery.PhotoInfo)(this.FindName("photoInfo")));
     this.play             = ((System.Windows.Shapes.Path)(this.FindName("play")));
     this.pause1           = ((System.Windows.Shapes.Path)(this.FindName("pause1")));
     this.pause2           = ((System.Windows.Shapes.Path)(this.FindName("pause2")));
 }
Exemplo n.º 2
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/PhotoGallery;component/Page.xaml", System.UriKind.Relative));
     this.stbShowThChooser = ((System.Windows.Media.Animation.Storyboard)(this.FindName("stbShowThChooser")));
     this.stbHideThChooser = ((System.Windows.Media.Animation.Storyboard)(this.FindName("stbHideThChooser")));
     this.grille = ((System.Windows.Controls.Grid)(this.FindName("grille")));
     this.mainImage = ((System.Windows.Controls.Image)(this.FindName("mainImage")));
     this.scaleMainImage = ((System.Windows.Media.ScaleTransform)(this.FindName("scaleMainImage")));
     this.back = ((System.Windows.Shapes.Path)(this.FindName("back")));
     this.next = ((System.Windows.Shapes.Path)(this.FindName("next")));
     this.thumbnailChooser = ((System.Windows.Controls.ScrollViewer)(this.FindName("thumbnailChooser")));
     this.list = ((System.Windows.Controls.StackPanel)(this.FindName("list")));
     this.thChooserPlus = ((PhotoGallery.Plus)(this.FindName("thChooserPlus")));
     this.albChooser = ((PhotoGallery.AlbumChooser)(this.FindName("albChooser")));
     this.photoInfo = ((PhotoGallery.PhotoInfo)(this.FindName("photoInfo")));
     this.play = ((System.Windows.Shapes.Path)(this.FindName("play")));
     this.pause1 = ((System.Windows.Shapes.Path)(this.FindName("pause1")));
     this.pause2 = ((System.Windows.Shapes.Path)(this.FindName("pause2")));
 }