在医院做图像处理时碰到双面扫描仪,需要将扫描到的2张图像分割为一张并打印。在分割图像的过程中总是不得法,后来虽然有CBM666的指导,但给的方法也还是不太方便。无意中在翻一本vb书的时候看到了一个使用Microsoft Picture Clip控件的例子,想要分割图像那是超级简单。分享以下代码,保证...
分类:
其他好文 时间:
2014-07-29 11:36:56
阅读次数:
217
(一)从数据库中读取数据写入Excel中方法1;步骤:1、建立一个新的项目,引用动态链接库Aspose.dll2、见下面的原代码using System;using System.Collections.Generic;using System.Text;using Aspose.Cells;usi...
分类:
Web程序 时间:
2014-07-29 11:27:36
阅读次数:
236
usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;namespaceweituo{classProgram{staticvoidMain(string[] args){// 声明委托变量Proc...
分类:
其他好文 时间:
2014-07-29 11:13:26
阅读次数:
268
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows.Forms;using DevComponents.DotNetBar.Controls;na...
分类:
其他好文 时间:
2014-07-29 10:42:36
阅读次数:
257
.NET4定义了8个Tuple类,和一个静态Tuple类---------------------------------------------------------------------返回多个值usingSystem;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Text;
usingSystem.Threading.Tasks;
namespaceConsoleApplication..
分类:
Web程序 时间:
2014-07-28 16:50:44
阅读次数:
233
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;namespace ReadLog.Public{ public class FileHelper...
分类:
其他好文 时间:
2014-07-28 15:32:43
阅读次数:
203
想要操作wps或office表格需要引入相对应的dll,office好找,wps在扩展中找到kingsoft的一些dll.其中通过特性描述来获取泛型的中文名.具体实现代码如下:using System;using System.Collections.Generic;using System.Lin...
分类:
其他好文 时间:
2014-07-28 13:49:20
阅读次数:
314
想要操作wps或office表格需要引入相对应的dll,office好找,wps在扩展中找到kingsoft的一些dll.其中通过特性描述来获取泛型的中文名.具体实现代码如下: using System;using System.Collections.Generic;using System.L....
分类:
其他好文 时间:
2014-07-28 13:43:00
阅读次数:
366
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.Thre...
分类:
其他好文 时间:
2014-07-27 21:40:05
阅读次数:
203
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace T2{ class Program { //常量(必须在声明时赋值,赋值后不能修改) //static void M...
分类:
其他好文 时间:
2014-07-27 10:35:42
阅读次数:
242