Ejemplo n.º 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;
            }
        }
Ejemplo n.º 2
0
 public IActionResult DeleteConfirm(ActivityTitle act, long Id)
 {
     _activity.Delete(Id);
     return(RedirectToAction(nameof(Create)));
 }
Ejemplo n.º 3
0
        public IActionResult DeleteConfirm(long Id)
        {
            ActivityTitle acti = _activity.GetTitle(Id);

            return(View(acti));
        }
Ejemplo n.º 4
0
 public IActionResult Edit(ActivityTitle act)
 {
     _activity.EditTitle(act);
     return(RedirectToAction(nameof(Create)));
 }
Ejemplo n.º 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();
 }