Exemple #1
0
 private void InitializeComponent()
 {
     global::Xamarin.Forms.Xaml.Extensions.LoadFromXaml(this, typeof(NewCustomerPage));
     CustomerName        = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Entry>(this, "CustomerName");
     CodeValidator       = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Demo_App.Behaviors.EntryValidatorBehavior>(this, "CodeValidator");
     CustomerEmail       = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Entry>(this, "CustomerEmail");
     CodeValidators      = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Demo_App.Behaviors.EmailValidatorBehavior>(this, "CodeValidators");
     CustomerPhoneNumber = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Entry>(this, "CustomerPhoneNumber");
     CustomerAddress     = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Entry>(this, "CustomerAddress");
 }
Exemple #2
0
 private void InitializeComponent()
 {
     global::Xamarin.Forms.Xaml.Extensions.LoadFromXaml(this, typeof(NewStaffPage));
     stack = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.StackLayout>(this, "stack");
     AddStaffCreateButton = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Label>(this, "AddStaffCreateButton");
     StaffFirstName       = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Entry>(this, "StaffFirstName");
     CodeValidator        = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Demo_App.Behaviors.EntryValidatorBehavior>(this, "CodeValidator");
     StaffLastName        = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Entry>(this, "StaffLastName");
     StaffEmail           = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Entry>(this, "StaffEmail");
     CodeValidators       = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Demo_App.Behaviors.EmailValidatorBehavior>(this, "CodeValidators");
     StaffPhoneNumber     = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Entry>(this, "StaffPhoneNumber");
     StaffAddress         = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Entry>(this, "StaffAddress");
     StaffCCEmail         = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Entry>(this, "StaffCCEmail");
 }