Esempio n. 1
0
		void Initialize ()
		{
			Title = "Scanner";

			// configure our scan button
			scanButton = new ScanButton ();
			scanButton.TouchUpInside += HandleTouchUpInside;
			NavigationItem.SetRightBarButtonItem (new UIBarButtonItem (scanButton), false);

			// setup the table
			tableSource = new BleDeviceTableSource ();
			tableSource.PeripheralSelected += HandlePeripheralSelected;
		}
        void Initialize()
        {
            Title = "Scanner";

            // configure our scan button
            scanButton = new ScanButton();
            scanButton.TouchUpInside += HandleTouchUpInside;
            NavigationItem.SetRightBarButtonItem(new UIBarButtonItem(scanButton), false);

            // setup the table
            tableSource = new BleDeviceTableSource();
            tableSource.PeripheralSelected += HandlePeripheralSelected;
        }