Ejemplo n.º 1
0
        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();
        }
Ejemplo n.º 2
0
        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();
        }