2018年4月17日
摘要: 在AndroidMainifest.xml中添加: 阅读全文
posted @ 2018-04-17 11:53 爽朗的刘备 阅读(601) 评论(0) 推荐(0) 编辑
  2018年1月7日
摘要: 通过QDockWidget 阅读全文
posted @ 2018-01-07 10:41 爽朗的刘备 阅读(3645) 评论(0) 推荐(0) 编辑
摘要: 1.在qt desiginer添加一個Group Box,在Group box中添加所需要的控件,并对Group box进行右键,选择layout中layout horizontally 2.再添加一个frame,并在其中添加一个TextEdit 和一个Frame1,在Frame1中添加相应控件。对 阅读全文
posted @ 2018-01-07 10:34 爽朗的刘备 阅读(9261) 评论(0) 推荐(0) 编辑
  2017年9月4日
摘要: 方法一:在数据库中若是两张表中共同字段一个非空一个为NULL,可以通过sql语句进行合并: coalesce(t1.region_code,t2.region_code) as REGIONID 方法二:粗略写了个算法,也没有进行算法优化,仅供参考。 /// <param name="dt1">要合 阅读全文
posted @ 2017-09-04 20:23 爽朗的刘备 阅读(1303) 评论(0) 推荐(0) 编辑
  2016年7月25日
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace 约瑟夫环 { class Program { static int[] Jose(int total, int start, int alter) { ... 阅读全文
posted @ 2016-07-25 16:47 爽朗的刘备 阅读(595) 评论(0) 推荐(0) 编辑
  2016年7月21日
摘要: 变量被调用的窗体Form1: private void buttonX8_Click(object sender, EventArgs e) { MessageUpdate f = new MessageUpdate(a2, b2, c2, d2, E2, f2, g2, h2, i2, j2, k 阅读全文
posted @ 2016-07-21 17:32 爽朗的刘备 阅读(959) 评论(0) 推荐(0) 编辑
  2016年7月20日
摘要: 阅读全文
posted @ 2016-07-20 14:19 爽朗的刘备 阅读(712) 评论(0) 推荐(0) 编辑
  2016年7月16日
摘要: string iColor = ColorTranslator.ToWin32(Color.FromArgb(254, 254, 146)).ToString(); 阅读全文
posted @ 2016-07-16 10:58 爽朗的刘备 阅读(153) 评论(0) 推荐(0) 编辑
  2016年7月15日
摘要: 代码: public Form1() { InitializeComponent(); string PrjPath = String.Format("{0}/gxljdata/map/DZmap.prj", Path.GetDirectoryName(System.Windows.Forms.Ap 阅读全文
posted @ 2016-07-15 17:40 爽朗的刘备 阅读(167) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO... 阅读全文
posted @ 2016-07-15 17:33 爽朗的刘备 阅读(1094) 评论(0) 推荐(0) 编辑