1.Color结构 using System; using System.Windows; using System.Windows.Input; using System.Windows.Media; namespace LY.VaryTheBackGround { public class VaryTheBackGround : Window { SolidColorBrush brush = new SolidColorBrush(Colors.Beige); [STAThread] pu…