摘要: and (@isViewOthers = 1 or userprofileID = @UserprofileID) /////////////////////////////////////////////////////////////////// if @isviewother = 1 ... 阅读全文
posted @ 2020-03-11 09:57 b小青青 阅读(1177) 评论(0) 推荐(0) 编辑
摘要: 1 Visibility="{Binding Path=DataContext.Model.IsFromDispensingScreen, RelativeSource={RelativeSource FindAncestor,AncestorType={x:Type UserControl}}}" 阅读全文
posted @ 2020-02-12 21:28 b小青青 阅读(227) 评论(0) 推荐(0) 编辑
摘要: https://03k.org/kms.html 这里的地址有详细教程 阅读全文
posted @ 2019-11-14 16:15 b小青青 阅读(4426) 评论(0) 推荐(0) 编辑
摘要: 一个bat文件,可执行当前文件夹下所有的sql文件。 注意替换代码中红色字段的值,改为你自己数据库相对应的值。如果报错,请到当前目录中的output.txt中查看。 阅读全文
posted @ 2019-01-23 10:31 b小青青 阅读(1396) 评论(2) 推荐(1) 编辑
摘要: Background的值是一个Brush类型,所以我们可以设置他的值为SolidColorBrush,可以直接new一个SolidColorBrush对象给它赋值。 然后直接给相应的对象设置 阅读全文
posted @ 2018-10-23 16:13 b小青青 阅读(3188) 评论(0) 推荐(0) 编辑
摘要: 使用mvvm架构,在某一个自定义控件内部或者DataGrid内部调用外部view的DataContext。 <TextBlock Text="{Binding DataContext.WatermarkText,RelativeSource={RelativeSource FindAncestor, 阅读全文
posted @ 2018-08-22 12:05 b小青青 阅读(682) 评论(0) 推荐(0) 编辑
摘要: 使用 Process 创建新的线程 启动线程 在Start方法里通知UI线程 不会阻塞UI线程 使用MVVM的话可以直接用 阅读全文
posted @ 2018-03-24 11:21 b小青青 阅读(361) 评论(0) 推荐(0) 编辑
摘要: 设置DataGrid CanUserAddRows="True",自动添加一行。 控制当前row为新增行时不能删除 阅读全文
posted @ 2018-03-22 16:30 b小青青 阅读(2059) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-03-21 10:54 b小青青 阅读(2068) 评论(0) 推荐(0) 编辑
摘要: 注意:此文献仅供个人参考,其他人毫无参考意义。 有关项目中需要把一个EntityList中的数据拿出来放入另一个EntityList,使用EntityList.Import(Entity)方法。 阅读全文
posted @ 2018-03-15 10:39 b小青青 阅读(186) 评论(0) 推荐(0) 编辑