Example #1
0
        void ReleaseDesignerOutlets()
        {
            if (ActivityDescription != null)
            {
                ActivityDescription.Dispose();
                ActivityDescription = null;
            }

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

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

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

            if (ContinueButton != null)
            {
                ContinueButton.Dispose();
                ContinueButton = null;
            }
        }
Example #2
0
 public IActionResult DeleteConfirm(ActivityTitle act, long Id)
 {
     _activity.Delete(Id);
     return(RedirectToAction(nameof(Create)));
 }
Example #3
0
        public IActionResult DeleteConfirm(long Id)
        {
            ActivityTitle acti = _activity.GetTitle(Id);

            return(View(acti));
        }
Example #4
0
 public IActionResult Edit(ActivityTitle act)
 {
     _activity.EditTitle(act);
     return(RedirectToAction(nameof(Create)));
 }
Example #5
0
        public IActionResult Edit(long Id)
        {
            ActivityTitle act = _activity.GetTitle(Id);

            return(View(act));
        }
 public override void TouchesBegan(NSSet touches, UIEvent evt)
 {
     ActivityTitle.ResignFirstResponder();
     ActivityDescription.ResignFirstResponder();
     ResetTheView();
 }