void ReleaseDesignerOutlets()
        {
            if (AdSoyadText != null)
            {
                AdSoyadText.Dispose();
                AdSoyadText = null;
            }

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

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

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

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

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

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

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

            if (Photo3 != null)
            {
                Photo3.Dispose();
                Photo3 = null;
            }
        }
Example #2
0
        public String GetTextView(Int32 indentLevel)
        {
            String        i  = HttpClientHelper.Indent(indentLevel);
            StringBuilder sb = new StringBuilder()
                               .Append(i).Append("Id:       ").Append(Id)
                               .Append(i).Append("CreatedAt:       ").Append(CreatedAt)
                               .Append(i).Append("UpdatedAt:       ").Append(UpdatedAt)
                               .Append(i).Append("Id_Notable:      ").Append(Id_Notable)
                               .Append(i).Append("NotableType:     ").Append(NotableType)
                               .Append(i).Append("Id_User:         "******"Title:           ").Append(Title)
                               .Append(i).Append("Description:     ").Append(Description)
                               .Append(i).Append("Photo1:          ").Append(Photo1.ToString(indentLevel + 1))
                               .Append(i).Append("Photo2:          ").Append(Photo2.ToString(indentLevel + 1))
                               .Append(i).Append("Photo3:          ").Append(Photo3.ToString(indentLevel + 1))
                               .Append(i).Append("Photo1Md5:       ").Append(Photo1Md5)
                               .Append(i).Append("Photo2Md5:       ").Append(Photo2Md5)
                               .Append(i).Append("Photo3Md5:       ").Append(Photo3Md5)
                               .Append(i).Append("CreatedByUserAt: ").Append(CreatedByUserAt)
                               .Append(i).Append("UpdatedByUserAt: ").Append(UpdatedByUserAt);

            return(sb.ToString());
        }