Beispiel #1
0
 private void InitializeComponent()
 {
     global::Xamarin.Forms.Xaml.Extensions.LoadFromXaml(this, typeof(QuizPage));
     scslayout     = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.StackLayout>(this, "scslayout");
     quizStack     = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.StackLayout>(this, "quizStack");
     LIST          = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.ListView>(this, "LIST");
     CountDown     = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Label>(this, "CountDown");
     slQuestion    = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.StackLayout>(this, "slQuestion");
     st            = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.StackLayout>(this, "st");
     lblquestionNo = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Label>(this, "lblquestionNo");
     lblsectionNo  = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Label>(this, "lblsectionNo");
     lblQuestion   = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Label>(this, "lblQuestion");
     img           = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Image>(this, "img");
     Option1       = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Label>(this, "Option1");
     OptionA       = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Frame>(this, "OptionA");
     centerFram1   = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Frame>(this, "centerFram1");
     Option2       = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Label>(this, "Option2");
     OptionB       = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Frame>(this, "OptionB");
     centerFram2   = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Frame>(this, "centerFram2");
     Option3       = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Label>(this, "Option3");
     OptionC       = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Frame>(this, "OptionC");
     centerFram3   = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Frame>(this, "centerFram3");
     Option4       = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Label>(this, "Option4");
     OptionD       = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Frame>(this, "OptionD");
     centerFram4   = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Frame>(this, "centerFram4");
     btnPrevious   = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::ETests.CustomControls.SmallButton>(this, "btnPrevious");
     btnConfirm    = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::ETests.CustomControls.SmallButton>(this, "btnConfirm");
     frameStack    = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.StackLayout>(this, "frameStack");
     PreviousScore = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Label>(this, "PreviousScore");
     TotaLScore    = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Label>(this, "TotaLScore");
     Performance   = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Label>(this, "Performance");
     MyListView    = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.ListView>(this, "MyListView");
 }
Beispiel #2
0
 private void InitializeComponent()
 {
     global::Xamarin.Forms.Xaml.Extensions.LoadFromXaml(this, typeof(TestMode));
     MyPage       = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.ContentPage>(this, "MyPage");
     customButton = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::ETests.CustomControls.SmallButton>(this, "customButton");
     imgButton    = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Image>(this, "imgButton");
     indi         = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.ActivityIndicator>(this, "indi");
 }