///<summary>Allows the user to edit an existing ImageAttachment object.</summary>
        private void CellDoubleClick_EditImage(object sender, ODGridClickEventArgs e)
        {
            GridRow selectedRow = gridAttachedImages.ListGridRows[gridAttachedImages.GetSelectedIndex()];

            ClaimConnect.ImageAttachment selectedAttachment = (ClaimConnect.ImageAttachment)selectedRow.Tag;
            FormClaimAttachmentItemEdit  FormCAIE           = new FormClaimAttachmentItemEdit(selectedAttachment.Image
                                                                                              , selectedAttachment.ImageFileNameDisplay, selectedAttachment.ImageDate, selectedAttachment.ImageType);

            FormCAIE.ShowDialog();
            if (FormCAIE.DialogResult == DialogResult.OK)           //Update row
            {
                _listImageAttachments[gridAttachedImages.GetSelectedIndex()] = FormCAIE.ImageAttachment;
                FillGrid();
            }
        }
        private void ShowImageAttachmentItemEdit(Image img)
        {
            if (img == null)
            {
                return;
            }
            FormClaimAttachmentItemEdit form = new FormClaimAttachmentItemEdit(img);

            form.ShowDialog();
            if (form.DialogResult == DialogResult.OK)
            {
                _listImageAttachments.Add(form.ImageAttachment);
                FillGrid();
            }
        }