Beispiel #1
0
 private void GenderSwitchFeMale_OnChanged(object sender, ToggledEventArgs e)
 {
     if (GenderSwitchFeMale.On == true)
     {
         GenderSwitchMale.On = false;
         GenderLBL.Text      = " الجنس :  أنثي";
         Wifes.SetValue(IsVisibleProperty, false);
     }
     else
     {
     }
 }
Beispiel #2
0
 private void MaritalSwitchyes_OnChanged(object sender, ToggledEventArgs e)
 {
     if (MaritalSwitchyes.On == true)
     {
         MaritalSwitchNo.On = false;
         chiled.SetValue(IsVisibleProperty, true);
         Wifes.SetValue(IsVisibleProperty, true);
         MarLBL.Text = "الحالة الإجتماعية : متزوج";
         if (GenderSwitchFeMale.On == true)
         {
             Wifes.SetValue(IsVisibleProperty, false);
         }
     }
     else
     {
         chiled.SetValue(IsVisibleProperty, false);
     }
 }