📌  相关文章
📜  c# messagebox yes no "wpf" - C# 代码示例

📅  最后修改于: 2022-03-11 14:48:48.979000             🧑  作者: Mango

代码示例2
// This one for WPF

if (MessageBox.Show("Close Application?", "Question", MessageBoxButton.YesNo, MessageBoxImage.Warning) == MessageBoxResult.No)
{
  //do no stuff
}
else
{
  //do yes stuff
}