public override void ViewDidLoad() { base.ViewDidLoad(); ImageButton.AddTarget(ImageButtonTapped, UIControlEvent.TouchUpInside); ImageButton2.AddTarget(ImageButtonTapped, UIControlEvent.TouchUpInside); ImageButton3.AddTarget(ImageButtonTapped, UIControlEvent.TouchUpInside); ImageButton4.AddTarget(ImageButtonTapped, UIControlEvent.TouchUpInside); ImageButton5.AddTarget(ImageButtonTapped, UIControlEvent.TouchUpInside); }