public void doConfigure(View v) { this.ShowChoices("Inventory Type", "Set Type", "", inventoryTypeNames, (int)inventoryType - 1, (int choiceIndex, String choice) => { this.inventoryType = (UgiRfidConfiguration.InventoryTypes)(choiceIndex + 1); }, null); }
partial void configureButton_TouchUpInside(UIButton sender) { ShowOkCancel("Configuration", "Choose configuration", "Locate", "Inventory", () => { this.inventoryType = UgiRfidConfiguration.InventoryTypes.LocateDistance; }, () => { this.inventoryType = UgiRfidConfiguration.InventoryTypes.InventoryDistance; }); }