private void menuItem5_Click(object sender, EventArgs e)
{
StringBuilder HTMLString = new StringBuilder();
HTMLString.Append("<--<html><body>");
HTMLString.Append("Submit data?");
HTMLString.Append("<form method=/'GET/' action=notify>");
HTMLString.Append("<input type='submit'>");
HTMLString.Append("<input type=button name='cmd:2' value='Cancel'>");
HTMLString.Append("</body></html>-->");
//Set the Text property to the HTML string.
notification1.Text = HTMLString.ToString();
notification1.Caption = "Notification Demo";
notification1.Critical = false;
// Display icon up to 10 seconds.
notification1.InitialDuration = 10;
notification1.Visible = true;
}
mobile 用html格式文本提示notify
最新推荐文章于 2024-10-01 23:23:32 发布