//处理提示重复弹出
Form alert = null;
private void method(){
if (alert == null)
{
alert = new Form();
alert.ShowDialog();
//这边很关键
alert = null;
}
}