Esempio n. 1
0
        void ReleaseDesignerOutlets()
        {
            if (DateText != null)
            {
                DateText.Dispose();
                DateText = null;
            }

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

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

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

            if (SubjectText != null)
            {
                SubjectText.Dispose();
                SubjectText = null;
            }
        }
Esempio n. 2
0
        void ReleaseDesignerOutlets()
        {
            if (DateText != null)
            {
                DateText.Dispose();
                DateText = null;
            }

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

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

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

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