コード例 #1
0
 void ShowEmployeePicker()
 {
     employeePicker = new EmployeePickerViewController
     {
         Employees = MainPage.Employees,
         Selected  = async(employee) =>
         {
             Visit.Employee = employee;
             navController.PopToRootViewController(true);
             employeePicker = null;
         },
         CreateNew = ShowNewVisitor
     };
     navController.PushViewController(employeePicker, true);
 }
コード例 #2
0
		void ShowEmployeePicker()
		{
			employeePicker = new EmployeePickerViewController
			{
				Employees = MainPage.Employees,
				Selected = async (employee) =>
				{
					Visit.Employee = employee;
					navController.PopToRootViewController(true);
					employeePicker = null;
				},
				CreateNew = ShowNewVisitor
			};
			navController.PushViewController(employeePicker, true);


		}