Example #1
0
        void ReleaseDesignerOutlets()
        {
            if (CancelButton != null)
            {
                CancelButton.Dispose();
                CancelButton = null;
            }

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

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

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

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

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

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

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