private async void RecordBTN_Clicked(object sender, EventArgs e) { await image1.RelRotateTo(360, 1000); Slidea.SetValue(IsVisibleProperty, false); Slide0.SetValue(IsVisibleProperty, true); }
private void BackBTN_Clicked(object sender, EventArgs e) { try { if (Slide1.IsVisible == IsVisible) { Slide1.SetValue(IsVisibleProperty, false); Slide0.SetValue(IsVisibleProperty, true); Nav.SetValue(IsVisibleProperty, false); } else { if (Slide2.IsVisible == IsVisible) { Slide2.SetValue(IsVisibleProperty, false); Slide1.SetValue(IsVisibleProperty, true); } else { if (Slide3.IsVisible == IsVisible) { Slide3.SetValue(IsVisibleProperty, false); Slide2.SetValue(IsVisibleProperty, true); } } } } catch (Exception) { _ = DisplayAlert("خطأ", "جميع الحقول مطلوبة ! ", "OK"); } }
private void BTN0_Clicked(object sender, EventArgs e) { try { if (NID.Text.Length == 10) { Slide0.SetValue(IsVisibleProperty, false); Slide1.SetValue(IsVisibleProperty, true); Nav.SetValue(IsVisibleProperty, true); IDLBL.Text = NID.Text; } else { _ = DisplayAlert("خطأ", "الرقم الوطني غير صحيح ! ", "OK"); } } catch (Exception) { _ = DisplayAlert("خطأ", "جميع الحقول مطلوبة ! ", "OK"); } }