using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace comal.timesheets.CustomControls { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class JobSelectionPage : ContentPage { public event ItemSelectedEvent OnItemSelected; bool bFirstPage = false; public JobShell Job { get; set; } public JobSelectionPage(bool firstpage = false) { Title = "Select Job"; InitializeComponent(); bFirstPage = firstpage; jobListView.ItemsSource = GlobalVariables.JobShells.Where(x => x.JobStatusDescription == "Active"); searchEdt.IsEnabled = true; LoadButtons(); } private void LoadButtons() { try { List descriptions = new List(); List