c#activex中事件怎么写
发布网友
发布时间:2022-10-11 00:19
我来回答
共1个回答
热心网友
时间:2023-10-09 23:39
private void button2_Click(object sender, EventArgs e)
{
set msg="在调用Vbscript啦";
this.page.ClientScript.RegisterStartupScript(page.GetType(), "message", "<script type='text/javascript' language='javascript' defer='defer'>alert('" + msg.ToString() + "');</script>");
}