示例#1
0
 void Buttons_ButtonEvent(UIButtonCollection buttonCollection, UIButtonCollectionEventArgs args)
 {
     _ButtonEvent(this, new UIKeypadEventArgs(
                      args.EventType,
                      args.ButtonIndexInCollection,
                      args.Button.PressDigitalJoin.Number,
                      args.Button.Device,
                      (UIKeypadButton)args.ButtonIndexInCollection));
 }
示例#2
0
 void Buttons_ButtonEvent(UIButtonCollection group, UIButtonCollectionEventArgs args)
 {
     if (args.EventType == UIButtonEventType.Released)
     {
         UIActionSheetButton responseButton = args.Button as UIActionSheetButton;
         action = responseButton.Action;
         this.Hide();
     }
 }