コード例 #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);
			};
		}