void ReleaseDesignerOutlets()
        {
            if (BrandLabel != null)
            {
                BrandLabel.Dispose();
                BrandLabel = null;
            }

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

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

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

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

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

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

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

            if (NextButton != null)
            {
                NextButton.Dispose();
                NextButton = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (LocationTextField != null)
            {
                LocationTextField.Dispose();
                LocationTextField = null;
            }

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

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

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

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

            if (YesButton != null)
            {
                YesButton.Dispose();
                YesButton = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (AttachmentContentView != null)
            {
                AttachmentContentView.Dispose();
                AttachmentContentView = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if (UploadFileButton != null)
            {
                UploadFileButton.Dispose();
                UploadFileButton = null;
            }
        }
Beispiel #4
0
 private void DoneProvinceAction()
 {
     BrandTextField.EndEditing(false);
     MaxTonCapacityTextField.EndEditing(false);
     TypeTextField.EndEditing(false);
 }
Beispiel #5
0
 private void DoneProvinceAction()
 {
     TypeTextField.EndEditing(false);
     WeightTextField.EndEditing(false);
     BrandTextField.EndEditing(false);
 }