Пример #1
0
        void Initialize()
        {
            tableSource = new ServiceTableSource();

            tableSource.ServiceSelected += (object sender, ServiceSelectedEventArgs e) => {
                serviceDetailsScreen = (ServiceDetailsScreen)Storyboard.InstantiateViewController("ServiceDetailsScreen");
                serviceDetailsScreen.SetPeripheralAndService(connectedPeripheral, e.Service);
                NavigationController.PushViewController(serviceDetailsScreen, true);
            };
        }
Пример #2
0
		void Initialize ()
		{
			tableSource = new ServiceTableSource ();

			tableSource.ServiceSelected += (object sender, ServiceSelectedEventArgs e) => {
				serviceDetailsScreen = (ServiceDetailsScreen)Storyboard.InstantiateViewController ("ServiceDetailsScreen");
				serviceDetailsScreen.SetPeripheralAndService (connectedPeripheral, e.Service);
				NavigationController.PushViewController (serviceDetailsScreen, true);
			};
		}