コード例 #1
0
 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);
 }
コード例 #2
0
 partial void configureButton_TouchUpInside(UIButton sender)
 {
     ShowOkCancel("Configuration", "Choose configuration", "Locate", "Inventory",
                  () => { this.inventoryType = UgiRfidConfiguration.InventoryTypes.LocateDistance; },
                  () => { this.inventoryType = UgiRfidConfiguration.InventoryTypes.InventoryDistance; });
 }