上一页 1 2 3 4 5 6 7 8 9 10 ··· 25 下一页
摘要: var window = (MainWindow)Window.GetWindow(this); if (window != null) window.PageContext.Source = new Uri("./ArchivesManage/ArchivesReturn.xaml", UriKi 阅读全文
posted @ 2020-05-14 16:14 _York 阅读(1839) 评论(0) 推荐(0) 编辑
摘要: 使用ZXing.net生成二维码和一维码图片,再使用PrintDocument打印图片 具体代码: private string GenerateBarCodeImage(string barCode, int width, int height, BarcodeFormat format) { B 阅读全文
posted @ 2020-05-13 16:44 _York 阅读(1010) 评论(0) 推荐(0) 编辑
摘要: var adornerLayer = AdornerLayer.GetAdornerLayer(element); 找不到装饰器adornerLayer 手动添加装饰器 <AdornerDecorator Margin="0"> <TextBox Width="200" Height="30" Te 阅读全文
posted @ 2020-05-09 13:02 _York 阅读(393) 评论(0) 推荐(0) 编辑
摘要: my.ini文件配置内容 [client] # 设置mysql客户端默认字符集 default-character-set=utf8 [mysqld] # 设置3306端口 port = 3306 # 设置mysql的安装目录 basedir=D:\mysql # 设置 mysql数据库的数据的存放 阅读全文
posted @ 2020-05-07 14:44 _York 阅读(157) 评论(0) 推荐(0) 编辑
摘要: winForm控件TreeListView按照一定顺序后添加项,后发觉排序顺序自己变了,解决办法: 阅读全文
posted @ 2019-09-24 19:59 _York 阅读(531) 评论(0) 推荐(0) 编辑
摘要: 返回自定义的 HttpResponseMessage 阅读全文
posted @ 2019-09-05 17:06 _York 阅读(1132) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Reflection; using System.Text; namespace Utils { public class ModelConvertHelper where T : new(... 阅读全文
posted @ 2019-06-27 15:37 _York 阅读(183) 评论(0) 推荐(0) 编辑
摘要: /// /// 查询扩展 /// /// public static class QueryableExtensions { /// /// Linq If 条件判断语句 IfWhere(条件,p=>xxx) /// /// /// IQuerya... 阅读全文
posted @ 2019-06-10 11:02 _York 阅读(1625) 评论(0) 推荐(0) 编辑
摘要: 使用方法: 阅读全文
posted @ 2019-05-31 16:18 _York 阅读(2352) 评论(1) 推荐(1) 编辑
摘要: rdlc报表实质上是一个xml文件,如果要实现动态报表,就需要动态生成rdlc文件,实质上就是读写xml文件: 阅读全文
posted @ 2019-05-29 10:09 _York 阅读(592) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 25 下一页