Button button2 = new Button { Width=30,Height=30, Content="HelloWorld", Background=new SolidColorBrush(Colors.Black) };
this.gdAA.Children.Add(button2);
转载于:https://www.cnblogs.com/caok168/archive/2012/06/25/2561323.html
Button button2 = new Button { Width=30,Height=30, Content="HelloWorld", Background=new SolidColorBrush(Colors.Black) };
this.gdAA.Children.Add(button2);
转载于:https://www.cnblogs.com/caok168/archive/2012/06/25/2561323.html