09 2021 档案

摘要:效果如下: 稍微组合一下: 关键资源样式如下: <Window.Resources> <Style x:Key="LabelStyle1" TargetType="{x:Type Label}"> <Setter Property="Foreground" Value="{DynamicResour 阅读全文
posted @ 2021-09-30 10:02 蜜铀 阅读(68) 评论(0) 推荐(0)
摘要:最终效果: 后台代码: private void Canvas_MouseMove(object sender, MouseEventArgs e) { Canvas.SetLeft(el, e.GetPosition((UIElement)sender).X - 135/2); Canvas.Se 阅读全文
posted @ 2021-09-29 15:40 蜜铀 阅读(146) 评论(0) 推荐(0)
摘要:select COLUMN_NAME,COLUMN_COMMENT from information_schema.columns where table_schema = 'mydb' #表所在数据库 and table_name = 'mytb' ; #你要查的表 select COLUMN_N 阅读全文
posted @ 2021-09-09 09:31 蜜铀 阅读(156) 评论(0) 推荐(0)
摘要:int[][] arr = new int[][]{{3},{6},{5},{4},{1},{2}}; Arrays.sort(arr, (a, b) -> a[0] - b[0]); // 自定义Comparator由小到打排序 for (int i = 0; i < 6; i++) System 阅读全文
posted @ 2021-09-08 16:00 蜜铀 阅读(454) 评论(0) 推荐(0)
摘要:代码: PriorityQueue<Integer> pq = new PriorityQueue<>((x, y) -> y - x); for (int i = 1; i <= 5; i++) { pq.add(i); System.out.println( pq.toString()); } 阅读全文
posted @ 2021-09-08 15:41 蜜铀 阅读(181) 评论(0) 推荐(0)
摘要:第一步:打开注册表 快捷键:win + R 输入并回车:regedit 第二步:打开右键主目录 位置:\HKEY_CLASSES_ROOT\Directory\Background\shell shell下新建的项是右键名称,可以修改默认值(代替项的名称) 同目录下可设置Icon图标 效果 阅读全文
posted @ 2021-09-01 08:49 蜜铀 阅读(332) 评论(0) 推荐(0)