摘要: ![](https://img2020.cnblogs.com/blog/1515253/202108/1515253-20210819144956494-4290822.png) 阅读全文
posted @ 2021-08-19 14:50 BaiPiaoD 阅读(111) 评论(0) 推荐(0) 编辑
摘要: <Grid.RowDefinitions> </Grid.RowDefinitions> <Grid> <UniformGrid Columns="2"> <ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisi 阅读全文
posted @ 2021-08-03 02:28 BaiPiaoD 阅读(1226) 评论(3) 推荐(2) 编辑
摘要: 我能抽象出整个世界... 但是我不能抽象出你... 因为你在我心中是那么的具体... 所以我的世界并不完整... 我可以重载甚至覆盖这个世界里的任何一种方法... 但是我却不能重载对你的思念... 也许命中注定了 你在我的世界里永远的烙上了静态的属性... 而我不慎调用了爱你这个方法... 当我义无 阅读全文
posted @ 2021-04-26 11:52 BaiPiaoD 阅读(238) 评论(0) 推荐(0) 编辑
摘要: public static void RunTask(List list, Action action, int threadCount = 5, bool waitFlag = true) { ConcurrentQueue queue = new ConcurrentQueue(list); T 阅读全文
posted @ 2020-12-07 16:08 BaiPiaoD 阅读(947) 评论(0) 推荐(1) 编辑
摘要: /// <summary> /// 创建桌面图标 /// </summary> public static void CreateShortcutOnDesktop(string LnkName) { String shortcutPath = System.IO.Path.Combine(Envi 阅读全文
posted @ 2020-11-13 14:11 BaiPiaoD 阅读(665) 评论(1) 推荐(0) 编辑
摘要: 代码: namespace ConsoleApp1 { class Program { static void Main(string[] args) { //创建list数组,=号右边可省略 List<student>? ts = new(); var StuA = new student("明明 阅读全文
posted @ 2020-11-12 12:44 BaiPiaoD 阅读(669) 评论(0) 推荐(0) 编辑
摘要: public App() { //UI线程异常 this.DispatcherUnhandledException += App_DispatcherUnhandledException; //非UI线程异常 AppDomain.CurrentDomain.UnhandledException += 阅读全文
posted @ 2020-08-10 10:50 BaiPiaoD 阅读(467) 评论(0) 推荐(0) 编辑
摘要: //记录鼠标按下 public static bool MouseBtnIsDown = false; //截图起始坐标 public static Point StartPoint; //截图的长宽 double width = 0; double height = 0; //鼠标按下事件 pub 阅读全文
posted @ 2020-07-23 18:07 BaiPiaoD 阅读(367) 评论(0) 推荐(0) 编辑