05 2011 档案

摘要:说明:首先在窗体上放一个PictrueBox控件,命名为pb1,拖动完整代码如下:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Draw... 阅读全文
posted @ 2011-05-23 17:12 liancs 阅读(1250) 评论(1) 推荐(1)
摘要:下面以在Wpf中添加ZedGraph(用于创建任意数据的二维线型、条型、饼型图表的一个开源类库)控件,说明在WPF中使用Winform控件的方法。1、 首先添加对如下两个dll文件的引用:WindowsFormsIntegration.dll,System.Windows.Forms.dll。2、 ... 阅读全文
posted @ 2011-05-12 17:08 liancs 阅读(343) 评论(0) 推荐(0)
摘要:Microsoft.Office.Interop.Excel.Application excelApp = new Microsoft.Office.Interop.Excel.Application(); try { excelApp.Visible = false; //Cria... 阅读全文
posted @ 2011-05-11 19:04 liancs 阅读(2076) 评论(0) 推荐(0)