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

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

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

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

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

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

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

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

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

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

            if (StabBtn != null)
            {
                StabBtn.Dispose();
                StabBtn = null;
            }
        }
Beispiel #2
0
        void ReleaseDesignerOutlets()
        {
            if (RecipeBgImg != null)
            {
                RecipeBgImg.Dispose();
                RecipeBgImg = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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