10 2022 档案

WPF 创建左侧滑入动画
摘要:var sb = new Storyboard(); // 动画板 var slideAnimation = new ThicknessAnimation() // 由于控制的是Margin,属于Thickness类型,所以创建ThicknessAnimation动画 { Duration = ne 阅读全文

posted @ 2022-10-19 09:59 xzj19870125 阅读(159) 评论(0) 推荐(0) 编辑

C# await async异步编程简单理解
摘要:async 异步方法 await 执行异步调用的位置 await Method1(); // 同步执行,先完成Method1,在执行Method2 //Method1(); // 异步执行,Method1、Method2同时执行 Method2(); Console.ReadKey(); stati 阅读全文

posted @ 2022-10-18 17:07 xzj19870125 阅读(28) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示