public override void ViewDidLoad() { base.ViewDidLoad(); backImg = UIImage.FromBundle("Images/menuBackground.png"); backImg = UIImageEffects.ApplyLightEffect(backImg); aboutUsBackground.Image = backImg; aboutUsBackground.SizeToFit(); aboutUsReturnToMenu.Layer.CornerRadius = 25; aboutUsReturnToMenu.Layer.BorderWidth = 2; aboutUsReturnToMenu.Layer.BorderColor = UIColor.White.CGColor; aboutUsTitle.Layer.BorderWidth = 2; aboutUsTitle.Layer.BorderColor = UIColor.White.CGColor; aboutUsReturnToMenu.TouchUpInside += delegate { NavigationController.PopViewController(true); }; }
public override void ViewDidLoad() { base.ViewDidLoad(); backImg = UIImage.FromBundle("Images/menuBackground.png"); backImg = UIImageEffects.ApplyLightEffect(backImg); menuBackgroundImage.Image = backImg; menuBackgroundImage.SizeToFit(); menuPageMapButton.Layer.CornerRadius = 35; menuPageMapButton.Layer.BorderWidth = 2; menuPageMapButton.Layer.BorderColor = UIColor.White.CGColor; aboutUsButton.Layer.CornerRadius = 35; aboutUsButton.Layer.BorderWidth = 2; aboutUsButton.Layer.BorderColor = UIColor.White.CGColor; userGuideButton.Layer.CornerRadius = 35; userGuideButton.Layer.BorderWidth = 2; userGuideButton.Layer.BorderColor = UIColor.White.CGColor; menuPageMapButton.TouchUpInside += delegate(object sender, EventArgs e) { ViewController nextView = this.Storyboard.InstantiateViewController("ViewController") as ViewController; this.NavigationController.PushViewController(nextView, true); }; userGuideButton.TouchUpInside += delegate(object sender, EventArgs e) { userGuidePage userGuidePage = this.Storyboard.InstantiateViewController("userGuideView") as userGuidePage; this.NavigationController.PushViewController(userGuidePage, true); }; aboutUsButton.TouchUpInside += delegate(object sender, EventArgs e) { aboutUsView aboutUsPage = this.Storyboard.InstantiateViewController("aboutUsPage") as aboutUsView; this.NavigationController.PushViewController(aboutUsPage, true); }; }