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)); }
void Buttons_ButtonEvent(UIButtonCollection group, UIButtonCollectionEventArgs args) { if (args.EventType == UIButtonEventType.Released) { UIActionSheetButton responseButton = args.Button as UIActionSheetButton; action = responseButton.Action; this.Hide(); } }