Пример #1
0
 public async void OnSelectRegion(object sender, EventArgs args)
 {
     try
     {
         aIDropdown = new AIDropdown(null, this, regionSelected, null, Questionaire.Regions);
         await PopupNavigation.Instance.PushAsync(aIDropdown, true);
     }
     catch (Exception ex)
     {
     }
 }
Пример #2
0
 public async void OnSelectCategory(object sender, EventArgs args)
 {
     try
     {
         aIDropdown = new AIDropdown(null, this, categorySelected, Questionaire.Categories, null);
         await PopupNavigation.Instance.PushAsync(aIDropdown, true);
     }
     catch (Exception ex)
     {
     }
 }
Пример #3
0
 public async static void PromptAIDropdownSelection(string _key, Label l)
 {
     try
     {
         var question = (certification == null) ?  questionaire.Sections[index].Questions.Find(qn => qn.Key == _key) : certification.Sections[index].Questions.Find(qn => qn.Key == _key);
         if (question != null)
         {
             aIDropdown = new AIDropdown(question.EnumList.EnumValues, selectPageState, l);
             await PopupNavigation.Instance.PushAsync(aIDropdown, true);
         }
     }
     catch (Exception ex)
     {
         await PopupNavigation.Instance.PushAsync(new MessageBox(ex.StackTrace, MessageType.Regular, promptPageState), true);
     }
 }
Пример #4
0
 private async void SelectProduct(object sender, EventArgs args)
 {
     aIDropdown = new AIDropdown(configuration.Products.EnumValues, this, productLbl);
     await PopupNavigation.Instance.PushAsync(aIDropdown, true);
 }