日期:2014-05-18 浏览次数:20532 次
MsgBox("確認刪除這條數據嗎", MsgBoxStyle.YesNo)//要点击两次确认
Dim resultCode As Integer = 0
resultCode = MsgBox("asd", MsgBoxStyle.YesNo).GetHashCode
If resultCode = MsgBoxResult.Yes Then
end if
private void button1_Click(object sender, EventArgs e)
{
if (MessageBox.Show("hegheheh","warning",MessageBoxButtons.YesNo)== DialogResult.Yes)
{
this.label1.Text = "sucess";
}
}
------解决方案--------------------