我有5个按钮,可以调用此弹出功能发送电子邮件.如何确定哪个单击按钮称为该功能?
public void popup(object sender, EventArgs e)
{
if (MessageBox.Show("You may not Bind, Change, Or Alter Insurance Coverage through e-mail. Confirmation of this e-mail by us initiates any changes to your Insurance. If you need any immediate service please contact our office at 1-800-875-5720.", "IMPORTANT!", MessageBoxButtons.OKCancel) == DialogResult.OK)
{
{
string email = "mailto:davidadfa.t@ifdafdadf.com";
Process.Start(email);
}
}
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4566 次 |
| 最近记录: |