Пример #1
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;
            }
        }
Пример #2
0
 public void FocusTitle()
 {
     RecipeTitle.Focus();
 }