private void btn_attach_image_Click(object sender, EventArgs e) { if (selectedPicture != null) { AttachmentUploadForm auf = new AttachmentUploadForm(); auf.ShowDialog(this); if (SeededProblems.AttachmentForm.AttachFileBtn()) { return; } else { if (ImageAttached != null) { ImageAttached(selectedPicture); } this.Close(); } } else { this.Close(); } }
private void btn_attach_image_Click(object sender, EventArgs e) { if (selectedPicture != null) { AttachmentUploadForm auf = new AttachmentUploadForm(); auf.ShowDialog(this); if (SeededProblems.AttachmentForm.AttachFileBtn()) { return; } else { if (ImageAttached != null) ImageAttached(selectedPicture); this.Close(); } } else { this.Close(); } }