Пример #1
0
 private void InitializeComponent()
 {
     global::Xamarin.Forms.Xaml.Extensions.LoadFromXaml(this, typeof(GameDetails));
     imgGame             = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::FFImageLoading.Forms.CachedImage>(this, "imgGame");
     lblTitle            = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Label>(this, "lblTitle");
     lblRelease          = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Label>(this, "lblRelease");
     lblPlaytime         = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Label>(this, "lblPlaytime");
     lblRating           = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Label>(this, "lblRating");
     lblReviewsTextCount = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Label>(this, "lblReviewsTextCount");
     TabHost             = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Sharpnado.Tabs.TabHostView>(this, "TabHost");
     Switcher            = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Sharpnado.Tabs.ViewSwitcher>(this, "Switcher");
 }
Пример #2
0
 private void InitializeComponent()
 {
     global::Xamarin.Forms.Xaml.Extensions.LoadFromXaml(this, typeof(MainPage));
     GridContainer = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Grid>(this, "GridContainer");
     Switcher      = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Sharpnado.Tabs.ViewSwitcher>(this, "Switcher");
     TabHost       = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Sharpnado.Tabs.TabHostView>(this, "TabHost");
     Home          = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Sharpnado.Tabs.BottomTabItem>(this, "Home");
     Search        = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Sharpnado.Tabs.BottomTabItem>(this, "Search");
     addButton     = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Sharpnado.Tabs.TabButton>(this, "addButton");
     Health        = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Sharpnado.Tabs.BottomTabItem>(this, "Health");
     User          = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Sharpnado.Tabs.BottomTabItem>(this, "User");
 }
Пример #3
0
 private void InitializeComponent()
 {
     global::Xamarin.Forms.Xaml.Extensions.LoadFromXaml(this, typeof(UserProfile));
     TabHost  = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Sharpnado.Tabs.TabHostView>(this, "TabHost");
     Switcher = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Sharpnado.Tabs.ViewSwitcher>(this, "Switcher");
 }