自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 资源 (18)
  • 收藏
  • 关注

原创 js给onclick赋值,传参数

1)当方法没有参数时,赋值可以直接用onclick = 方法名  window.onload = function() {        $('btnTest').onclick = test;      }  function test() {        alert(val);  }2)当方法有参数时,用onclick = 方法名(参数)时就有错了,需要在

2013-03-28 10:30:33 4189

原创 css tab选项卡

CSS tab 选项卡*{ padding:0px; margin:0px;}body{ text-align:center;font-size:12px;}.page{ width:600px; margin:10px auto; text-align:left; }/*内容模块 */.tab_mo{ border:1px solid #ccc; border-top:

2013-03-27 17:48:33 1060

原创 Web Service通过SoapHeader身份验证

VS2008经常卡住,比如切换到设计视图时会卡住几分钟,有时鼠标双击也时卡住几分钟,上网看到一个解决办法:把C:\Program Files\Common Files\Microsoft Shared\OFFICE12\Office Setup Controller\setup.exe删除或改名试了一下,有效了一阵子又不行了。后来下载安装了VS2008的SP1补丁VS90s

2013-03-22 14:58:34 5713

原创 IOC容器Unity 使用

依赖注入(Dependency Injection,DI),也叫控制反转(Inversion of Control,IoC)是一个重要的面向对象编程的法则用来削减程序的耦合问题,它把耦合从代码中移出去,放到统一的XML文件中,通过一个容器在需要的时候把这个依赖关系形成,即把需要的接口实现注入到需要它的类中,当需要换一个实现子类将会变成很简单(一般这样的对象都是实现于某种接口的),只要修改XML就可以,这样可以实现对象的热插拨(有点象USB接口)。Unity 是一个轻量级、可扩展的依赖注入容器,支持构造函数

2013-03-20 10:47:40 4843 1

原创 WinForm监控键盘鼠标

监控键盘:using System;using System.Runtime.InteropServices;using System.Windows.Forms;namespace WindowsFormsAppTest{ public class KeyboardHook { private const int WM_KEYDOWN = 0x10

2013-03-11 17:17:14 3742

原创 winform制作的精美时钟

参考了好多资料,终于做了一个winform时钟出来,效果图如下:1,首先在winfrom项目中添加了一个用户控件ClockControl,实现过程可见代码注释,代码如下:using System;using System.Collections.Generic;using System.ComponentModel;using System.Drawing;us

2013-03-08 17:02:26 6621 2

原创 c#图像灰度化、灰度反转、二值化

图像灰度化:将彩色图像转化成为灰度图像的过程成为图像的灰度化处理。彩色图像中的每个像素的颜色有R、G、B三个分量决定,而每个分量有255中值可取,这样一个像素点可以有1600多万(255*255*255)的颜色的变化范围。而灰度图像是R、G、B三个分量相同的一种特殊的彩色图像,其一个像素点的变化范围为255种,所以在数字图像处理种一般先将各种格式的图像转变成灰度图像以使后续的图像的计算量变得少

2013-03-05 09:55:25 8949 1

原创 颜色与图片存储原理(摘自网上资料)

三元色RGB概念:自然界中的所有颜色都可以由红、绿、蓝(R,G,B)组合而成。有的颜色含有红色成分多一些,如深红;有的含有红色成分少一些,如浅红。针对含有红色成分的多少,可以分成0到255共256个等级,0级表示不含红色成分;255级表示含有100%的红色成分。同样,绿色和蓝色也被分成256级。这种分级概念称为量化。这样,根据红、绿、蓝各种不同的组合我们就能表示出256×256×256,约16

2013-03-04 11:48:23 5383

原创 winform壁纸工具:为图片添加当月的日历并设为壁纸

这几天用winform做了一个设置壁纸的小工具, 为图片添加当月的日历并设为壁纸,可以手动设置壁纸,也可以定时设置壁纸,最主要的特点是在图片上生成当前月的日历信息。工具和桌面设置壁纸后的效果如下:在图片上画日历的类代码Calendar.cs如下:using System;using System.Collections.Generic;using System.Text

2013-03-01 06:16:07 1806

PL/SQL美化器规则文件,用于格式美化sql语句

PL/SQL使用方法: 1、工具--首选项--用户界面--PL/SQL美化器--规则文件,选择.br的规则文件,点确定按钮。 2、点击工具栏的“PL/SQL美化器”,会自动把一段SQL语句重新排版美化。

2022-06-09

Objective-C基础教程(第2版).pdf

Objective-C基础教程(第2版).pdf,中文版。

2015-12-10

开源.NET FTP组件edtFTPnet.dll

开源.NET FTP组件edtFTPnet edtFTPnet官方网站: http://www.enterprisedt.com/products/edtftpnet/ 目前最新版本为2.2.3,下载后在bin目录中找到edtFTPnet.dll,在项目中添加引用。 用法:http://blog.csdn.net/gdjlc/article/details/12054881

2013-09-26

HTML解析工具Html Agility Pack v1.4.6

http://htmlagilitypack.codeplex.com/ This is an agile HTML parser that builds a read/write DOM and supports plain XPATH or XSLT (you actually don't HAVE to understand XPATH nor XSLT to use it, don't worry...). It is a .NET code library that allows you to parse "out of the web" HTML files. The parser is very tolerant with "real world" malformed HTML. The object model is very similar to what proposes System.Xml, but for HTML documents (or streams).

2013-09-18

文件比对工具WinMerge v2.14

http://winmerge.org/ WinMerge is an Open Source differencing and merging tool for Windows. WinMerge can compare both folders and files, presenting differences in a visual text format that is easy to understand and handle.

2013-09-18

SQLite数据库管理工具SQLiteStudio 2.1.4

http://sqlitestudio.pl/ SQLiteStudio is a SQLite database manager with the following features: Single executable file - no need to install or uninstall. Binary distribution is just the single, ready to use file. Intuitive interface, All SQLite3 and SQLite2 features wrapped within simple GUI, Cross-platform - runs on Windows 9x/2k/XP/2003/Vista/7, Linux, MacOS X, Solaris, FreeBSD and should work on other Unixes (not tested yet). Localizations, currently translated to: English, Polish, Spanish, German, Russian, Japanese, Italian, Dutch, Chinese, Exporting to various formats (SQL statements, CSV, HTML, XML, PDF, JSON, dBase), Importing data from various formats (CSV, dBase, custom text files [regular expressions]), Numerous small additions, like formatting code, history of queries executed in editor windows, on-the-fly syntax checking, and more, UTF-8 support, skinnable (interface can look native for Windows 9x/XP, KDE, GTK, Mac OS X, or draw widgets to fit for other environments, WindowMaker, etc), Configurable colors, fonts and shortcuts. Open source and free - Released under GPLv2 licence.

2013-09-18

.net程序反编译工具ILSpy 2.1

官网:http://ilspy.net/ ILSpy is the open-source .NET assembly browser and decompiler. Development started after Red Gate announced that the free version of .NET Reflector would cease to exist by end of February 2011. ILSpy requires the .NET Framework 4.0.

2013-09-18

读写Excel的组件npoi

官网:http://npoi.codeplex.com/ 介绍: Follow (605) Subscribe This project is the .NET version of POI Java project at http://poi.apache.org/. POI is an open source project which can help you read/write xls, doc, ppt files. It has a wide application. For example, you can use it to a. generate a Excel report without Microsoft Office suite installed on your server and more efficient than call Microsoft Excel ActiveX at background; b. extract text from Office documents to help you implement full-text indexing feature (most of time this feature is used to create search engines). c. extract images from Office documents d. generate Excel sheets that contains formulas

2013-07-26

CnPlugin_1.5.4.rar

备注:原来的模板template.dot在导出word后没有表格的边框,所以稍微修改了一下,覆盖原文件即可,路径:C:\Program Files\PLSQL Developer\PlugIns\CnPlugin\template.dot

2013-04-16

winform制作的精美时钟

参考了好多资料,终于做了一个winform时钟出来,效果及实现代码见: http://blog.csdn.net/gdjlc/article/details/8651485

2013-03-08

winform 为图片添加当月的日历并设为壁纸

winform 为图片添加当月的日历并设为壁纸,可以手动设置壁纸,也可以定时设置壁纸;最主要的特色是在图片上生成当前月的日历信息。

2013-02-28

c#二维码生成与解码

c#实现二维码的生成,解码,通过引用zxing实现

2013-01-17

Winform 通用分页控件

Winform 通用分页控件 转自http://cyq1162.blog.51cto.com/2127378/896084

2012-12-23

从QQ输入法提取出来的截图工具

从QQ五笔输入法提取出来的截图工具,直接就可以使用。。。

2011-06-25

正则表达式测试工具 Regex Tester

Regex Tester 用 C# 编写的用来测试正则表达式的工具,需要.Net Framework 2.0支持。

2011-06-18

Winform文本编辑器

Winform文本编辑器,有一个问题就是生成的HTML不是很好,有"<html><head></head><body>...."...

2010-10-09

winform 版fck文本编辑器

winform 版fck文本编辑器,用起来还不错,不过少了个编辑Html源码功能。

2010-10-09

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除