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

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

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

            if (NoteText != null)
            {
                NoteText.Dispose();
                NoteText = null;
            }
        }
Ejemplo n.º 2
0
 /// <summary>
 ///
 /// </summary>
 public string GetComments()
 {
     return("(" + ShortNoteType + ") " + NoteDate.ToString("dd-MMM-yyyy") + ".    " + Notes.NoteText);
 }