10 2022 档案

Flutter实现圆形图片+描边
摘要:目前手机应用中,圆形图片是很常见的设计 在flutter中实现圆角是非常方便的 Container( width: 300, height: 300, decoration: BoxDecoration( border: Border.all(width: 3, color: Colors.red) 阅读全文

posted @ 2022-10-30 22:33 快乐海盗 阅读(466) 评论(0) 推荐(0) 编辑

Flutter 路由
摘要:flutter的路由简单使用 跳转 Navigator.of(context) .push(MaterialPageRoute( builder: (context) { return Test(); // ignore: prefer_const_constructors }, settings: 阅读全文

posted @ 2022-10-27 23:49 快乐海盗 阅读(33) 评论(0) 推荐(0) 编辑

简单理解crontab表达式
摘要:在日常工作中,我在使用定时任务的场景,一般使用Windows计划任务,或者hangfire这类的定时任务框架,因为hangfire已经实现了常用的cron表达式封装,所以一直也没去了解太多。 趁着最近有空,补习一下cron相关的知识。 认识cron表达式 cron表达式是一个字符串,用空格分隔,一般 阅读全文

posted @ 2022-10-26 00:04 快乐海盗 阅读(2514) 评论(0) 推荐(0) 编辑

wpf引用样式
摘要:在css中,可以把公用样式抽出放在一个单独的css文件里面。 在wpf中也可以做到类似的操作。 分离样式 把样式写在Style下的Button.xaml下: <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml 阅读全文

posted @ 2022-10-24 23:28 快乐海盗 阅读(236) 评论(0) 推荐(0) 编辑

WPF更新绑定字段
摘要:很久没用过wpf了,今晚改一个小工具,折腾了半天,记录备忘一下。 在xaml中绑定好上下文字段 设置绑定上下文 var stu = new Student(); this.DataContext = stu; Student实现INotifyPropertyChanged public class 阅读全文

posted @ 2022-10-12 23:15 快乐海盗 阅读(52) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

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