//关闭窗口
private void MouseDown_01(object sender, System.Windows.Input.MouseButtonEventArgs e)
{
if (MyCustomControlLibrary.MMessageBox.ShouBox(“确定退出吗?”, “询 问”, MyCustomControlLibrary.MMessageBox.ButtonType.YesNo, MyCustomControlLibrary.MMessageBox.IconType.Info
, Orientation.Horizontal, “是”, “否”) == MyCustomControlLibrary.MMessageBox.Reault.Yes)
this.Close();
}
wpf 关闭窗口
猜你喜欢
转载自blog.csdn.net/weixin_44548307/article/details/102908966
今日推荐
周排行