Silverlight中后台写Button

Button  button2 = new Button { Width=30,Height=30, Content="HelloWorld", Background=new SolidColorBrush(Colors.Black) };
this.gdAA.Children.Add(button2);

posted @ 2012-06-25 15:23  要等闲阿  阅读(111)  评论(0编辑  收藏  举报