摘要: 1、前端 1 <UserControl x:Class="RayProject.Control.EMIControl" 2 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 3 xmlns:x="http://sche 阅读全文
posted @ 2018-05-11 16:04 逛园子$$$ 阅读(447) 评论(0) 推荐(0)
摘要: 1、二进制、八进制、十进制、十六进制的字符串转换成4个字节的整型int32(也可转换成其它类型int16,short等等) 1 Int32 nn; 2 //二进制转换 3 nn = Convert.ToInt32("1010", 2); 4 //八进制转换 5 nn = Convert.ToInt3 阅读全文
posted @ 2018-05-11 15:32 逛园子$$$ 阅读(650) 评论(0) 推荐(0)
摘要: SQLite分页查询的SQL语句: 1 /// <summary> 2 /// 分页获取数据列表 3 /// </summary> 4 public DataSet GetListByPage(string strWhere, string orderby, int startIndex, int 阅读全文
posted @ 2018-05-11 15:07 逛园子$$$ 阅读(260) 评论(0) 推荐(0)
摘要: 通过Mvvm Light源码我们可以知道Messenger的实现细节,如果你现在还不能理解这些代码也没关系,很多东西理解起来远比使用起来难,Messenger也是如此,它使用起来很简单,由于Messenger只公开了一些消息注册和发送方法,使用者一看便知方法的功能,而只需关注要发送的数据和接收的对象 阅读全文
posted @ 2018-05-11 15:00 逛园子$$$ 阅读(225) 评论(0) 推荐(0)