コード例 #1
0
 private void InitializeComponent()
 {
     global::Xamarin.Forms.Xaml.Extensions.LoadFromXaml(this, typeof(Travel_Recension));
     ratingString         = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Entry>(this, "ratingString");
     ratingValueInt       = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Plugin.InputKit.Shared.Controls.AdvancedSlider>(this, "ratingValueInt");
     listViewTransactions = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.ListView>(this, "listViewTransactions");
 }
コード例 #2
0
 private void InitializeComponent()
 {
     global::Xamarin.Forms.Xaml.Extensions.LoadFromXaml(this, typeof(Reservation));
     entirePlacesBus            = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Label>(this, "entirePlacesBus");
     availablePlaces            = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Label>(this, "availablePlaces");
     imageBus                   = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Image>(this, "imageBus");
     dateTimePickerReservation  = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.DatePicker>(this, "dateTimePickerReservation");
     checkAvailablePlacesButton = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Button>(this, "checkAvailablePlacesButton");
     occupiedPlaces             = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Label>(this, "occupiedPlaces");
     numberOfTickets            = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Plugin.InputKit.Shared.Controls.AdvancedSlider>(this, "numberOfTickets");
     goToPaymentButton          = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Button>(this, "goToPaymentButton");
 }
コード例 #3
0
 private void InitializeComponent()
 {
     global::Xamarin.Forms.Xaml.Extensions.LoadFromXaml(this, typeof(ChoicePlayer));
     lblSlider  = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Label>(this, "lblSlider");
     sldPlayers = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Plugin.InputKit.Shared.Controls.AdvancedSlider>(this, "sldPlayers");
     Name1      = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::BikeGates.Models.CustomEntry>(this, "Name1");
     Name1B     = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.BoxView>(this, "Name1B");
     Name2      = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::BikeGates.Models.CustomEntry>(this, "Name2");
     Name2B     = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.BoxView>(this, "Name2B");
     Name3      = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::BikeGates.Models.CustomEntry>(this, "Name3");
     Name3B     = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.BoxView>(this, "Name3B");
     Name4      = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::BikeGates.Models.CustomEntry>(this, "Name4");
     Name4B     = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.BoxView>(this, "Name4B");
     Name5      = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::BikeGates.Models.CustomEntry>(this, "Name5");
     Name5B     = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.BoxView>(this, "Name5B");
 }