WPF弹出取消确定框

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

 

posted @ 2018-02-05 11:09  liu_xh  阅读(3187)  评论(0编辑  收藏  举报