コード例 #1
0
        void ReleaseDesignerOutlets()
        {
            if (BrandLabel != null)
            {
                BrandLabel.Dispose();
                BrandLabel = null;
            }

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

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

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

            if (NextButton != null)
            {
                NextButton.Dispose();
                NextButton = 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;
            }
        }
コード例 #2
0
        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 (NextButton != null)
            {
                NextButton.Dispose();
                NextButton = null;
            }

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

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

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

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

            if (TypePickerView != null)
            {
                TypePickerView.Dispose();
                TypePickerView = null;
            }
        }
コード例 #4
0
        void ReleaseDesignerOutlets()
        {
            if (AddObservationView != null)
            {
                AddObservationView.Dispose();
                AddObservationView = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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