You don't need ContactFormModule.ascx.cs, just add a separate Page Contact.aspx with the same markup and add "ctlContact.BeforeSendMail +=" there. You would need to change the footer link too though.
If you have the source code edition, fastest is to just add code like this to Contact.aspx.cs
protected
override
void
OnInit(EventArgs e)
{
base
.OnInit(e);
ctlContact.BeforeSendMail +=
new
ContactForm.BeforeSendMailEventHandler(ctlContact_BeforeSendMail);
}
void
ctlContact_BeforeSendMail(System.Net.Mail.MailMessage mailMessage, System.ComponentModel.CancelEventArgs e)
{
// Your code here
}