public override void ViewDidLoad()
{
base.ViewDidLoad();
if (Device.OSVersion < Device.OSVersion60)
{
this.btnFacebook.Hidden = true;
}
this.btnPaint.SetImage(UIImage.FromBundle("Content/paint.png"), UIControlState.Normal);
this.btnPlayback.SetImage(UIImage.FromBundle("Content/playback.png"), UIControlState.Normal);
this.btnFacebook.SetImage(UIImage.FromBundle("Content/facebook.png"), UIControlState.Normal);
this.btnTwitter.SetImage(UIImage.FromBundle("Content/twitter.png"), UIControlState.Normal);
this.btnDelete.SetImage(UIImage.FromBundle("Content/delete.png"), UIControlState.Normal);
this.btnNewPortrait.SetImage(UIImage.FromBundle("Content/portrait.png"), UIControlState.Normal);
this.btnNewLandscape.SetImage(UIImage.FromBundle("Content/landscape.png"), UIControlState.Normal);
this.btnCopy.SetImage(UIImage.FromBundle("Content/copy.png"), UIControlState.Normal);
this.btnEmail.SetImage(UIImage.FromBundle("Content/email.png"), UIControlState.Normal);
this.btnExportPhoto.SetImage(UIImage.FromBundle("Content/photo.png"), UIControlState.Normal);
this.imageViewList = new UIImageView[] {
new UIImageView(),
new UIImageView(),
new UIImageView()
};
foreach (var imageView in this.imageViewList)
{
this.scrollView.AddSubview(imageView);
}
this.PositionScrollViewContent();
this.scrollView.Scrolled += this.scrollView_Scrolled;
this.LoadAndDisplayImages();
}