Esempio n. 1
0
 private void InitializeComponent()
 {
     global::Xamarin.Forms.Xaml.Extensions.LoadFromXaml(this, typeof(ContactDetail));
     btnActive       = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Mobile.CustomToolbarItem>(this, "btnActive");
     btnDeactive     = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Mobile.CustomToolbarItem>(this, "btnDeactive");
     btnEdit         = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.ToolbarItem>(this, "btnEdit");
     btnDelete       = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.ToolbarItem>(this, "btnDelete");
     listViewContact = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.ListView>(this, "listViewContact");
 }
Esempio n. 2
0
 private void InitializeComponent()
 {
     global::Xamarin.Forms.Xaml.Extensions.LoadFromXaml(this, typeof(UserProfile));
     btnActive    = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Mobile.CustomToolbarItem>(this, "btnActive");
     btnDeactive  = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Mobile.CustomToolbarItem>(this, "btnDeactive");
     btnEdit      = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.ToolbarItem>(this, "btnEdit");
     btnDelete    = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.ToolbarItem>(this, "btnDelete");
     txtFullname  = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Label>(this, "txtFullname");
     txtGender    = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Label>(this, "txtGender");
     txtPosition  = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Label>(this, "txtPosition");
     txtProvince  = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Label>(this, "txtProvince");
     txtRole      = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Label>(this, "txtRole");
     txtBirthdate = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Label>(this, "txtBirthdate");
     txtBlood     = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Label>(this, "txtBlood");
     txtCellPhone = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Label>(this, "txtCellPhone");
     txtTelephone = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Label>(this, "txtTelephone");
     txtUserId    = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Label>(this, "txtUserId");
 }