UserControl关闭直接 Application.Current.Shutdown();关闭程序。转载于:https://www.cnblogs.com/Fred1987/p/5531952.html