예제 #1
0
        void ReleaseDesignerOutlets()
        {
            if (frameView != null)
            {
                frameView.Dispose();
                frameView = null;
            }

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

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

            if (RecipeName != null)
            {
                RecipeName.Dispose();
                RecipeName = null;
            }
        }
예제 #2
0
        void ReleaseDesignerOutlets()
        {
            if (RecipeCookTime != null)
            {
                RecipeCookTime.Dispose();
                RecipeCookTime = null;
            }

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

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

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

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