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

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

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

            if (ButtonReturn != null)
            {
                ButtonReturn.Dispose();
                ButtonReturn = null;
            }
        }
コード例 #2
0
        void ReleaseDesignerOutlets()
        {
            if (BottomConstraint != null)
            {
                BottomConstraint.Dispose();
                BottomConstraint = null;
            }

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

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

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

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