上一页 1 2 3 4 5 6 7 8 9 ··· 46 下一页
摘要: 背景 private int axisNum; public int AxisNum { get { return axisNum; } set { SetProperty(ref axisNum, value); } } 用prism的时候,这种代码简直写到🤮,这里提供一个snippet,以及完 阅读全文
posted @ 2022-10-15 15:22 宋桓公 阅读(80) 评论(0) 推荐(0) 编辑
摘要: 发现雷赛发的最新的资料还没以前的详细,这里备份一下: using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; namespace Hardware 阅读全文
posted @ 2022-10-14 15:03 宋桓公 阅读(1514) 评论(0) 推荐(0) 编辑
摘要: 前言 布局控件Grid 配合 GridSplitter 无需编写任何代码 就能实现网格大小可拖动。 纵向GridSplitter与横向GridSplitter 注意将GridSplitter放在你需要滑动的的位置 <Grid ShowGridLines="True"> <Grid.RowDefini 阅读全文
posted @ 2022-10-11 15:29 宋桓公 阅读(292) 评论(0) 推荐(0) 编辑
摘要: 前言 说到外键,一般就会牵扯出约束。不谈约束的话,起始外键就是一个普通的字段(Column),起到一个关联的作用。 先把约束放一边,我们看看外键有哪些作用。 建立表中记录的一对一的关系 学生表: StudentIdNameAgePhoneId1Daniel2212Kitty2123William22 阅读全文
posted @ 2022-10-07 16:37 宋桓公 阅读(180) 评论(0) 推荐(0) 编辑
摘要: DataGrid动态生成 简单方式 动态生成实现需要设置AutoGenerateColumns="True", <DataGrid Name="dataGrid" AutoGenerateColumns="True" /> 后台dataGrid.ItemsSource = infoList; inf 阅读全文
posted @ 2022-10-05 17:19 宋桓公 阅读(380) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 46 下一页