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; } }
/// <summary> /// /// </summary> public string GetComments() { return("(" + ShortNoteType + ") " + NoteDate.ToString("dd-MMM-yyyy") + ". " + Notes.NoteText); }