C#用代码在程序运行过程中更改程序的图标

来源:互联网 发布:怎么在淘宝上免费装修 编辑:程序博客网 时间:2024/05/18 01:59

Uri uri=new Uri(IconSource, UriKind.RelativeOrAbsolute)

BitmapImage image=new BitmapImage();

 this.Icon = image;

原创粉丝点击