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

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

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

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

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

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

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

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

            if (ResumeLabel != null)
            {
                ResumeLabel.Dispose();
                ResumeLabel = null;
            }
        }
Beispiel #4
0
        void ReleaseDesignerOutlets()
        {
            if (UsernameLabel != null)
            {
                UsernameLabel.Dispose();
                UsernameLabel = null;
            }

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

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