Exemple #1
0
        private void PrepareViewToEditEvent()
        {
            // Load IBOutlets with values of event that it will be edited
            LoadEventWillBeEditedInView();

            CreateButton.SetTitle("Modificar", UIControlState.Normal);

            this.NavigationItem.Title = "Editar Novedad";
        }
        private void PrepareViewToEditEvent()
        {
            // Load IBOutlets with values of event that it will be edited
            LoadEventWillBeEditedInView();

            // In edit event it's not possible edit the observations so remove this section
            ConteinerObservationView.Hidden    = true;
            TopCreateButtonConstraint.Constant = 40;
            View.LayoutIfNeeded();

            CreateButton.SetTitle("Modificar", UIControlState.Normal);

            this.NavigationItem.Title = "Editar Evento";
        }