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) { } }
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) { } }
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); } }
private async void SelectProduct(object sender, EventArgs args) { aIDropdown = new AIDropdown(configuration.Products.EnumValues, this, productLbl); await PopupNavigation.Instance.PushAsync(aIDropdown, true); }