2014年1月24日
摘要: SELECT row_number() over(order by ID) as RowID,IDFROM Person 阅读全文
posted @ 2014-01-24 18:56 SuperSky 阅读(128) 评论(0) 推荐(0) 编辑
  2013年8月7日
摘要: http://msdl.microsoft.com/download/symbols/debuggers/dbg_x86_6.11.1.402.msi 阅读全文
posted @ 2013-08-07 15:33 SuperSky 阅读(138) 评论(0) 推荐(0) 编辑
  2013年6月26日
摘要: 串口设置 sp = new SerialPort(comboBox1.SelectedItem.ToString(), int.Parse(comboBox2.SelectedItem.ToString()), parity, int.Parse(comboBox4.SelectedItem.ToString()), stopBits); sp.ReceivedBytesThreshold = 16; sp.DataReceived += new SerialDataReceivedEventHandler(sp_DataReceived); sp.Open();串口数据接收事件 ... 阅读全文
posted @ 2013-06-26 15:41 SuperSky 阅读(435) 评论(0) 推荐(0) 编辑
  2013年5月30日
摘要: 策略模式是面向对象继承组合特性的使用。策略模式先设定出策略基类StrategyBase,进一步定义继承的子类。之后定义环境上下文Context类,内部根据不同的外部需求,寻找匹配StrategyBase基类的策略子类,通过环境控制Context类返回请求。下面是一个报告程序对模式进行了阐述:报告程序主要是根据不同的客户端请求打印预览不同的报告样式和数据。首先定义报告枚举:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.ComponentModel;nam 阅读全文
posted @ 2013-05-30 14:20 SuperSky 阅读(174) 评论(0) 推荐(0) 编辑
  2013年5月7日
摘要: 1.1 技术、方案现系统共分三部分:数据处理,交互处理 和 信息输出展示 数据处理的技术方案:ADO.Net 交互处理的技术方案:WinForm, WPF 做前端信息展示信息输出展示的技术方案: 包括数据导入导出, VBA, Crystal Report待实现部分数据处理的技术:Linq to SQL , NHibernate, IBatis, Microsoft Enterprise Library, SPring.Net交互处理的技术:ExtJS , JQuery, WebForm信息输出展示的技术: Charting , Microsoft Report 阅读全文
posted @ 2013-05-07 13:34 SuperSky 阅读(195) 评论(0) 推荐(0) 编辑
  2013年4月24日
摘要: 最近一段时间一直在使用WPF开发应用程序,遇到一些问题在寻找方法时,经几个同事观点,google查技术问题是比其他搜索引擎效果要明显好些,google在这方面更专业些。 最近遇到两个问题: WPF的图标问题就在Google上很容易找到this.Icon = BitmapFrame.Create(new Uri("Print.ico", UriKind.RelativeOrAbsolute)); WPF的任务栏窗口显示问题 this.ShowInTaskbar = false; 阅读全文
posted @ 2013-04-24 15:42 SuperSky 阅读(107) 评论(0) 推荐(0) 编辑
  2013年3月8日
摘要: 编程界面开发工具1. VC6:这个是最经典的一个C/C++开发工具,毕竟是微软的东西,所以非常好用。2. Code::Blocks :现在发展势头比较好,跨平台3. Dev C++:比较漂亮小巧实用4. C-Free:国产的,一定要支持,非常小,功能完备5. Pelles C:非常强大的C语言开发工具。比C-Free还好用,不过缺点是没有中文版的 阅读全文
posted @ 2013-03-08 17:03 SuperSky 阅读(196) 评论(0) 推荐(0) 编辑
  2013年3月6日
摘要: 在WPF中不能直接使用拖拽使用CrystalReportViewer 可以使用下面的代码实现 CrystalReportViewer rptViewer = new CrystalReportViewer(); WindowsFormsHost host = new WindowsFormsHost(); rptViewer.ReportSource = crystalreport; host.Child = rptViewer; ReportGrid.Children.Add(host); 阅读全文
posted @ 2013-03-06 16:37 SuperSky 阅读(2016) 评论(0) 推荐(0) 编辑
  2013年1月22日
摘要: 相关组件可以在网址下载http://www.sap.com/china/solutions/sapbusinessobjects/sme/freetrials/index.epx组件有universe, crystal reports, web intellignece, OLAP report, 还有一些水晶仪表等等 阅读全文
posted @ 2013-01-22 15:40 SuperSky 阅读(265) 评论(0) 推荐(0) 编辑
  2013年1月18日
摘要: 很久以前就听说专业的程序员使用C++,不过一直以来没有在应用项目中使用过C++,这次有个机会真是难得。岁月中真是不知道什么事情都会发生。demo 阅读全文
posted @ 2013-01-18 14:42 SuperSky 阅读(464) 评论(4) 推荐(0) 编辑