摘要: publicMainPage(){this.InitializeComponent();//简写this.Loaded+=(sender,e)=>{MessageBox.Show("d");MessageBox.Show("ss");};//原来写法this.Loaded+=newRoutedEventHandler(MainPage_Loaded);}voidMainPage_Loaded(objectsender,RoutedEventArgse){//简写this.Dispatcher.BeginInvoke(()=>MessageBo 阅读全文
posted @ 2011-08-22 18:35 为森 阅读(336) 评论(0) 推荐(0) 编辑