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;
            }
        }
Esempio n. 2
0
        void ReleaseDesignerOutlets()
        {
            if (BackButton != null)
            {
                BackButton.Dispose();
                BackButton = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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