c#

C# Button Background, Foreground kep csereje kodban

var brush = new ImageBrush(); brush.ImageSource = new BitmapImage(new Uri("Images/myImage.png", UriKind.Relative)); button1.Background = brush;  

12 years ago

This website uses cookies.