private void ButAdd_Click(object sender, EventArgs e){ if(!gridAttachments.GetIsAddButtonEnabled()) { MsgBox.Show(this,"Attachments cannot be modified on historical email."); return; } _emailMessage.Attachments.AddRange(EmailAttachL.PickAttachments(_patCur)); FillAttachments(); }
private void butAttach_Click(object sender, EventArgs e) { _listAttachments.AddRange(EmailAttachL.PickAttachments(_patCur)); FillAttachments(); }
private void butAttach_Click(object sender, EventArgs e) { _listEmailAttachDisplayed.AddRange(EmailAttachL.PickAttachments(null)); FillAttachments(); }