12 2012 档案

摘要:SVN服务器搭建和使用(一)SVN服务器搭建和使用(二)SVN服务器搭建和使用(三)TortoiseSVN客户端重新设置用户名和密码 阅读全文
posted @ 2012-12-28 13:55 尼姑哪里跑 阅读(225) 评论(0) 推荐(0) 编辑
摘要:先说说题外话,前段时间近一个月,我一直在做单据导入功能,其中就涉及到Excel操作,接触Excel后发现他的api说明并不多,好在网上有很多朋友贴出了一些代码,我在不断的挫折中吸取了很多教训,现共享出来,给大家参考。1. 最好在客户端使用,不要在B/S服务端使用,因为会受到IIS权限和占用内存影响,多人并发操作必然完蛋2. 需要引入两个DLL,Microsoft.Office.Interop.Excel.dll和office.dll,在加上项目的时候,会报错“类型“Microsoft.Office.Interop.Excel.ApplicationClass” 未定义构造函数无法嵌入互操作类型 阅读全文
posted @ 2012-12-19 10:52 尼姑哪里跑 阅读(621) 评论(0) 推荐(0) 编辑
摘要:[翻译]Tapan Dantre.著Serial Communication using C# and Whidbey[简介]本文将介绍如何在.NET平台下使用C#创建串口通信程序,.NET 2.0提供了串口通信的功能,其命名空间是System.IO.Ports。这个新的框架不但可以访问计算机上的串口,还可以和串口设备进行通信。我们将使用标准的RS 232 C 在PC间通信。它工作在全双工模式下,而且我们不打算使用任何的握手或流控制器,而是使用无modem连接。命名空间System.IO.Ports命名空间中最重用的是SerialPort 类。创建SerialPort 对象通过创建Serial 阅读全文
posted @ 2012-12-18 22:09 尼姑哪里跑 阅读(278) 评论(0) 推荐(0) 编辑
摘要:基于Aforge.net的扑克牌识别基于Aforge.net应用谷歌下载Aforge。net在WPF程序中使用摄像头兼谈如何使用AForge.NET控件人工神经网络入门(1)——单层人工神经网络应用示人工神经网络入门(2)——人工神经基本概念介绍人工神经网络入门(3)——多层人工神经网络应用示例人工神经网络入门(4)—— AForge.Net简介模糊集合和隶属度函数--AForge.NET框架的使用(一)模糊语意变数、规则和模糊运算--AForge.NET框架的使用(二)子句判断、启动强度和去模糊化--AForge.NET框架的使用(三)模糊系统架构和简单实现--AForge.NET框架的使用 阅读全文
posted @ 2012-12-15 15:32 尼姑哪里跑 阅读(758) 评论(0) 推荐(1) 编辑
摘要:截图DEMOusing System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Drawing.Imaging;namespace 图片截图{ public partial class Form1 : Form { bool isDrag = false; Rectangle theR... 阅读全文
posted @ 2012-12-15 10:42 尼姑哪里跑 阅读(244) 评论(0) 推荐(0) 编辑
摘要:直方图匹配using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;namespace 图像处理DEMO1{ public partial class 直方图匹配 : Form { private string shapingFileName; private System.Drawing.Bitma... 阅读全文
posted @ 2012-12-15 10:20 尼姑哪里跑 阅读(2464) 评论(0) 推荐(0) 编辑
摘要:http://ce.sysu.edu.cn/hope2008/worklist/ShowArticle.asp?ArticleID=8631(转)仅以我有限的项目经验总结Delphi学习中需要注意到问题。由于我有C#基础,故此会涉及C#和Pascal语法不同之处,通用的程序套路就不多说了。该文章涉及内容深度较浅,适合初学者阅读。如有错漏请包涵。需要注意Delphi是一个IDE,它不是一个语言,它的性质和Visual Studio、Eclipse是一样的,是用来做开发的。Delphi是用Pascal做为开发语言,确切说是Object Pascal--支持面向对象的Pascal语言,当然Delph 阅读全文
posted @ 2012-12-07 21:07 尼姑哪里跑 阅读(628) 评论(0) 推荐(0) 编辑
摘要:二维数组unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, DBCtrls;type queue = array[1..4, 1..20] of real; TForm1 = class(TForm) lbl1: TLabel; lbl2: TLabel; lbl3: TLabel; lbl4: TLabel; lbl5: TLabel; btn1: TButton;... 阅读全文
posted @ 2012-12-07 12:05 尼姑哪里跑 阅读(372) 评论(0) 推荐(0) 编辑
摘要:Maopao排序unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, DBCtrls;type queue = array[1..200] of integer; TForm1 = class(TForm) btn1: TButton; lbl1: TLabel; edt1: TEdit; btn2: TButton; btn3: TButton; dblst1: TD... 阅读全文
posted @ 2012-12-07 11:12 尼姑哪里跑 阅读(505) 评论(0) 推荐(0) 编辑
摘要:数值参数:实参的值赋给对应形参,形参的改变不影响实参unit first;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls;type TForm1 = class(TForm) btn1: TButton; edt1: TEdit; edt2: TEdit; procedure btn1Click(Sender: TObject); private function formalparam... 阅读全文
posted @ 2012-12-07 09:04 尼姑哪里跑 阅读(599) 评论(0) 推荐(0) 编辑
摘要:今天在FDS建模程序编写时自定义了一组鼠标响应事件,结果总是提示“Unsatisfied forward or external declaration”错误,最终发现是如下原因造成的:类声明部分定义的procedure PanelClick(Sender:Tobjcet),在实现部分需要有类名的全称!1 type2 TForm1 =class(TForm)3 ...4 procedure PanelClick(Sender:Tobjcet); //过程声明5 6 private7 { Private declarations }8 public9 { Public declaration.. 阅读全文
posted @ 2012-12-06 18:22 尼姑哪里跑 阅读(234) 评论(0) 推荐(0) 编辑
摘要:今天下午在做程序的时候,在调试了,可是提示框中出现了我最不擅长的错误,应该不是不擅长吧,而是在调试的时候发现错误,你又不知道错误怎么解决,这就难办了。今儿就是的遇见了个错误,还解决了,蛮好的。错误如下:运行程序以后出现如下的提示:[Fatal Error] *.pas(7): File not found: '*.dcu'解决方法:在Delphi工具栏中打开 Tools->Environment Options: (工具——>环境选项)然后在Library选项卡中的Library Path中加入该控件的路径,也就是含有这个文件(*.dcu)的路径,就可以了。 阅读全文
posted @ 2012-12-06 17:14 尼姑哪里跑 阅读(89) 评论(0) 推荐(0) 编辑
摘要:http://www.makepic.net/anniu/13075.html### 阅读全文
posted @ 2012-12-03 18:41 尼姑哪里跑 阅读(148) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示