I have seen the ProcessSendEMail event (and the ClickSendEMailButton event that would be ok), i have handled it and i show my custom message in it, but after the message the elaboration stops so your default export window does not appear.
Is there a way to make appear a custom messagebox when user click "Send e-mail" and then the normal elaboration goes on?
This is the AddHandler:
Code: Select all
AddHandler mPreviewControl.ProcessSendEMail, New EventHandler(AddressOf Me.mPreviewControl_ProcessSendEMail)
Code: Select all
Private Sub mPreviewControl_ProcessSendEMail(ByVal sender As Object, ByVal e As System.EventArgs)
System.Windows.Forms.MessageBox.Show("This is my message")
End Sub