WPF弹出取消确定框

MessageBoxResult dr = MessageBox.Show("是否在"+ConfigHelper.GetAppSetting("SourceDBName") +"库执行sql", "提示", MessageBoxButton.OKCancel, MessageBoxImage.Question);
if (dr == MessageBoxResult.OK)
{

}

posted @ 2016-11-24 21:04  晓明的哥哥  阅读(6125)  评论(0编辑  收藏  举报