private void tsbViewAttachments_Click(object sender, EventArgs e)
        {
            if (id == 0)
            {
                return;
            }
            frmAttachmentList attachments = new frmAttachmentList();

            attachments.attachmentType    = AttachmentType.Transfer;
            attachments.intTransfer       = this.id;
            attachments.strRegistrationNo = txtRegistration.Text;
            attachments.strClientID       = txtClientID.Text;
            attachments.Show();
        }
        private void tsbAttach_Click(object sender, EventArgs e)
        {
            if (id == 0)
            {
                MessageBox.Show("To attach files, transfer must be saved.");
                return;
            }
            frmAttachmentList attachments = new frmAttachmentList();

            attachments.attachmentType = AttachmentType.Transfer;
            attachments.intTransfer    = this.id;

            attachments.strRegistrationNo = txtRegistration.Text;
            attachments.strClientID       = txtClientID.Text;
            attachments.ShowDialog();
        }