Beispiel #1
0
 public override void ViewWillAppear(bool animated)
 {
     base.ViewWillAppear(animated);
     GoToStoreButton.ContentEdgeInsets   = new UIEdgeInsets(5, 10, 5, 10);
     GoToStoreButton.Layer.CornerRadius  = 4;
     GoToStoreButton.Layer.MasksToBounds = true;
     GoToStoreButton.TouchUpInside      += GoToStoreButton_TouchUpInside;
     GoToStoreButton.SetTitle(Application.LocalizedString("DoUpdate"), UIControlState.Normal);
     UpdateAppLabel.Text = Application.LocalizedString("UpdateApp");
 }
        void ReleaseDesignerOutlets()
        {
            if (GoToStoreButton != null)
            {
                GoToStoreButton.Dispose();
                GoToStoreButton = null;
            }

            if (GoToStoreImage != null)
            {
                GoToStoreImage.Dispose();
                GoToStoreImage = null;
            }

            if (UpdateAppLabel != null)
            {
                UpdateAppLabel.Dispose();
                UpdateAppLabel = null;
            }
        }