Exemplo n.º 1
0
        void ReleaseDesignerOutlets()
        {
            if (ModelTextField != null)
            {
                ModelTextField.Dispose();
                ModelTextField = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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