using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms;namespace EmailAutoSend { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { MessageBox.Show("操作成功", "操作成功", MessageBoxButtons.OK, MessageBoxIcon.Warning); } } } 你的符号是钩号是因为它用了控件,或者是重写了控件,在button的Click下写如上代码即可。
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;namespace EmailAutoSend
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
} private void button1_Click(object sender, EventArgs e)
{
MessageBox.Show("操作成功", "操作成功", MessageBoxButtons.OK, MessageBoxIcon.Warning);
}
}
}
你的符号是钩号是因为它用了控件,或者是重写了控件,在button的Click下写如上代码即可。
不过您这个是WINFORM的呀,,我要的是WEB的。。
如jquery dialog
http://jqueryui.com/demos/dialog/