void ReleaseDesignerOutlets()
 {
     if (SubTitle != null)
     {
         SubTitle.Dispose();
         SubTitle = null;
     }
     if (Title != null)
     {
         Title.Dispose();
         Title = null;
     }
 }
        void ReleaseDesignerOutlets()
        {
            if (AttractionImage != null)
            {
                AttractionImage.Dispose();
                AttractionImage = null;
            }

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

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

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

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

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

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

            if (Title != null)
            {
                Title.Dispose();
                Title = null;
            }
        }
 void ReleaseDesignerOutlets()
 {
     if (SubTitle != null)
     {
         SubTitle.Dispose();
         SubTitle = null;
     }
     if (Text != null)
     {
         Text.Dispose();
         Text = null;
     }
     if (TItle != null)
     {
         TItle.Dispose();
         TItle = null;
     }
 }