public HouseholdRegistration()
 {
     InitializeComponent();
     ContentNameEntry.Completed   += (sender, e) => EmailAddressEntry.Focus();
     EmailAddressEntry.Completed  += (sender, e) => EmailAddressEntry.Focus();
     ContactNumberEntry.Completed += (sender, e) => AddressEntry.Focus();
     //AddressEntry.Completed += (sender, e) =>
 }
 public SupermarketRegistration()
 {
     InitializeComponent();
     NameBusinessEntry.Completed  += (sender, e) => ContentNameEntry.Focus();
     ContentNameEntry.Completed   += (sender, e) => EmailAddressEntry.Focus();
     EmailAddressEntry.Completed  += (sender, e) => ContactNumberEntry.Focus();
     ContactNumberEntry.Completed += (sender, e) => AddressEntry.Focus();
     //AddressEntry.Completed += (sender, e) => AddressEntry.Focus();
 }
Ejemplo n.º 3
0
        public AddContact()
        {
            InitializeComponent();

            NavigationPage.SetHasBackButton(this, false);

            nameEntry.ReturnCommand  = new Command(() => emailEntry.Focus());
            emailEntry.ReturnCommand = new Command(() => phoneEntry.Focus());
            phoneEntry.ReturnCommand = new Command(() => AddressEntry.Focus());
            isAdd = true;
        }
Ejemplo n.º 4
0
        private async void Button_OnClicked(object sender, EventArgs e)
        {
            if (String.IsNullOrEmpty(FullNameEntry.Text))
            {
                await DisplayAlert("Error", "Please fill your Full Name", "OK");

                FullNameEntry.Focus();
                return;
            }
            if (String.IsNullOrEmpty(AddressEntry.Text))
            {
                await DisplayAlert("Error", "Please fill your Address", "OK");

                AddressEntry.Focus();
                return;
            }
            if (String.IsNullOrEmpty(DescribleEditor.Text))
            {
                await DisplayAlert("Error", "Please describle yourself", "OK");

                DescribleEditor.Focus();
                return;
            }
        }