예제 #1
0
 private void InitializeComponent()
 {
     global::Xamarin.Forms.Xaml.Extensions.LoadFromXaml(this, typeof(CustomPositionBarPage));
     mediaElement   = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.MediaElement>(this, "mediaElement");
     positionLabel  = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Label>(this, "positionLabel");
     positionSlider = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::SeeUMusic.Controls.PositionSlider>(this, "positionSlider");
 }
예제 #2
0
 private void InitializeComponent()
 {
     global::Xamarin.Forms.Xaml.Extensions.LoadFromXaml(this, typeof(VideoPlayerPage));
     Back   = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.TapGestureRecognizer>(this, "Back");
     Video  = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.MediaElement>(this, "Video");
     Loader = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.ActivityIndicator>(this, "Loader");
 }
예제 #3
0
 private void InitializeComponent()
 {
     global::Xamarin.Forms.Xaml.Extensions.LoadFromXaml(this, typeof(DetailsMovie));
     videoElement = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.MediaElement>(this, "videoElement");
     titleAr      = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Label>(this, "titleAr");
     titleEn      = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Label>(this, "titleEn");
     descAr       = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Label>(this, "descAr");
     descEn       = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Label>(this, "descEn");
 }
 private void InitializeComponent()
 {
     global::Xamarin.Forms.Xaml.Extensions.LoadFromXaml(this, typeof(Media));
     VideoControle      = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.MediaElement>(this, "VideoControle");
     LblPosicao         = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Label>(this, "LblPosicao");
     SliderPosicaoVideo = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Slider>(this, "SliderPosicaoVideo");
     LblDuracao         = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Label>(this, "LblDuracao");
     LblVolume          = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Label>(this, "LblVolume");
 }
예제 #5
0
 private void InitializeComponent()
 {
     global::Xamarin.Forms.Xaml.Extensions.LoadFromXaml(this, typeof(MusicPlayer));
     SearchMusic  = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.SearchBar>(this, "SearchMusic");
     SongsLsvt    = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.ListView>(this, "SongsLsvt");
     bt_Previous  = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.ImageButton>(this, "bt_Previous");
     bt_play      = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.ImageButton>(this, "bt_play");
     bt_Pause     = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.ImageButton>(this, "bt_Pause");
     bt_Next      = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.ImageButton>(this, "bt_Next");
     mediaElement = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.MediaElement>(this, "mediaElement");
 }
예제 #6
0
 private void InitializeComponent()
 {
     global::Xamarin.Forms.Xaml.Extensions.LoadFromXaml(this, typeof(VideoPage));
     mediaElement     = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.MediaElement>(this, "mediaElement");
     aspectEnumPicker = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::SeeUMusic.Controls.EnumPicker>(this, "aspectEnumPicker");
 }
예제 #7
0
 private void InitializeComponent()
 {
     global::Xamarin.Forms.Xaml.Extensions.LoadFromXaml(this, typeof(CustomVolumePage));
     mediaElement = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.MediaElement>(this, "mediaElement");
 }
예제 #8
0
 private void InitializeComponent()
 {
     global::Xamarin.Forms.Xaml.Extensions.LoadFromXaml(this, typeof(PlayWebAudioPage));
     mediaElement = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.MediaElement>(this, "mediaElement");
     lb_CurMusic  = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Label>(this, "lb_CurMusic");
 }