C#学习笔记[一]

        1. 修改控件的背景图片

            ImageBrush MINI_imageBrush = new ImageBrush();
            MINI_imageBrush.ImageSource = new BitmapImage(new Uri("图片的地址,windows下记得是//", 

                                                                                               UriKind.Relative));
            button2.Background = MINI_imageBrush;

         2.

已标记关键词 清除标记
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页