Esempio n. 1
0
        private async void CreateWorker(object sender, EventArgs e)
        {
            Worker     worker     = new Worker();
            WorkerPage workerPage = new WorkerPage();

            workerPage.BindingContext = worker;
            await Navigation.PushAsync(workerPage);
        }
Esempio n. 2
0
        private async void OnItemSelected(object sender, SelectedItemChangedEventArgs e)
        {
            Worker     selectedWorker = (Worker)e.SelectedItem;
            WorkerPage workerPage     = new WorkerPage();

            workerPage.BindingContext = selectedWorker;
            await Navigation.PushAsync(workerPage);
        }