摘要:
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 阅读全文