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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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