自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(29)
  • 资源 (3)
  • 收藏
  • 关注

转载 创建可移动的悬浮DIV

HTML代码如下: var divObj=null; var pX; var pY; document.onmousemove = divMove; document.onmouseup = divUp; function moveObj(obj){ divObj=document.all(obj); pX

2011-09-30 14:39:33 1260

原创 jstree

<!-- function OnTreeNodeChecked() { var ele = window.event.srcElement; if(ele.type==checkbox) //如果ele是复选框 { var childrenDivID = ele.id.replace(CheckBox,N

2009-04-23 09:35:00 1055

原创 javascript 常用代码大全

javascript 常用代码大全 //打开模式对话框 function doSelectUser(txtId) { strFeatures="dialogWidth=500px;dialogHeight=360px;center=yes;middle=yes ;help=no;status=no;scroll=no";

2008-07-01 16:22:00 1333

原创 C#为配置文件添加结点

private void addnewnode( string nodekey,string nodevalue)        ...{            try            ...{                System.Xml.XmlDocument xmlDoc = new System.Xml.XmlDocument();                xmlDo

2008-05-05 16:54:00 717

原创 C#组合的递归算法

private string combine(int[] a, int n, int m, int[] b, int M)    ...{        string all = "";        for (int i = n; i >= m; i--)   // 注意这里的循环范围        ...{            b[m - 1] = i - 1;            i

2008-04-30 09:29:00 1779

原创 C#将数据导出到Excel汇总

一、asp.net中导出Execl的方法:在asp.net中导出Execl有两种方法,一种是将导出的文件存放在服务器某个文件夹下面,然后将文件地址输出在浏览器上;一种是将文件直接将文件输出流写给浏览器。在Response输出时,t分隔的数据,导出execl时,等价于分列,n等价于换行。 1、将整个html全部输出execl此法将html中所有的内容,如按钮,表格,图片等全部输出到Execl中。

2007-08-31 16:38:00 2620 2

原创 用C# 实现C/S模式下软件自动在线升级

1 前言  长期以来,广大程序员为到底是使用Client/Server,还是使用Browser/Server结构争论不休,在这些争论当中,C/S结构的程序可维护性差,布置困难,升级不方便,维护成本高就是一个相当重要的因素。有很多企业用户就是因为这个原因而放弃使用C/S。然而当一个应用必须要使用C/S结构才能很好的实现其功能的时候,我们该如何解决客户端的部署与自动升级问题?部署很简单,只要点击安装程

2007-08-31 14:55:00 3982 4

原创 分字节传输

 Employee类 using System;using System.Collections.Generic;using System.Text;namespace EmployeeClient...{    class Employee    ...{        public int EmployeeID;        public int LastNameSize;   

2007-07-12 17:45:00 846

原创 简单tcpclient服务器

using System;using System.Collections.Generic;using System.Text;using System.Net;using System.Net.Sockets;namespace TcpListenerSample...{    class Program    ...{        static void Main(string[] ar

2007-07-10 16:39:00 825

原创 完整的udp客户端

using System;using System.Collections.Generic;using System.Text;using System.Net;using System.Net.Sockets;namespace BestUdpClient...{    class Program    ...{        private static byte[] data = new

2007-07-10 10:25:00 1241

原创 简单的无连接的udp服务器和客户端

 服务器 using System;using System.Collections.Generic;using System.Text;using System.Net;using System.Net.Sockets;namespace SimpleUdpSrvr...{    class Program    ...{        static void Main(string

2007-07-06 16:19:00 1634

原创 简单的流服务器和流客户机

流服务器 using System;using System.Collections.Generic;using System.Text;using System.Net;using System.Net.Sockets;using System.IO;namespace StreamTcpSrvr...{    class Program    ...{        static 

2007-07-06 10:43:00 670

原创 带字节长度的服务器和客户端

服务器代码 using System;using System.Collections.Generic;using System.Text;using System.Net;using System.Net.Sockets;namespace VarTcpSrvr...{    class Program    ...{        private static int SendVa

2007-07-05 17:11:00 821

原创 面向连接的套接字

在服务器能够向客户机传输数据之前,必须做以下四件事:1、创建一个套接字2、将所创建的套接字与本地IPEndPoint绑定3、设置套接字为收听模式4、在套接字上接收接入的连接 创建一个简单的TCP服务器: using System;using System.Collections.Generic;using System.Text;using System.Net;u

2007-07-05 14:27:00 1063

原创 用C#实时获取CPU利用率

using System;using System.Collections.Generic;using System.Text;using System.Runtime.InteropServices;using System.Threading;using System.Diagnostics; namespace ConsoleApplication2...{    public dele

2007-07-03 11:28:00 3682

原创 套接字属性样例

using System;using System.Collections.Generic;using System.Text;using System.Net;using System.Net.Sockets;namespace SockProp...{    class Program    ...{        static void Main(string[] args)      

2007-06-15 11:59:00 654

原创 获取IP地址

using System;using System.Collections.Generic;using System.Text;using System.Net;namespace AddressSample...{    class Program    ...{        static void Main(string[] args)        ...{            IP

2007-06-14 17:35:00 695

原创 C#提取WMI网络信息

Windows Management  Instrmentation(WMI,视窗系统管理方法)是微软Web-Based  Enterprise Management (WBEM,基于Web企业管理)的实现,它是网络环境中访问系统信息的一个标准。using System;using System.Collections.Generic;using System.Text;using Sys

2007-05-31 17:06:00 1037

原创 用系统注册表找出安装在Windows NT /2000/XP系统中的网络设备,并显示每个设备的ip信息

using System;using System.Collections.Generic;using System.Text;using Microsoft.Win32;namespace CardGrab...{    class Program    ...{        static void Main(string[] args)        ...{            Re

2007-05-31 15:57:00 1021

原创 渐变字

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Drawing.Drawing2D;namespace

2007-05-24 15:49:00 704

原创 阴影字

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;namespace testgrid...{    public partial

2007-05-24 15:47:00 691

原创 渐变模式

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Drawing.Drawing2D;namespace

2007-05-22 15:26:00 762

原创 跳动的球

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;namespace testgrid...{    public partial

2007-05-22 15:03:00 668

原创 渐变五角星

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Drawing.Drawing2D;using Sys

2007-05-22 14:52:00 697

原创 贝赛尔时钟

using System;using System.Collections.Generic;using System.ComponentModel;using System.Drawing;using System.Data;using System.Text;using System.Windows.Forms;using System.Drawing.Drawing2D;namespace

2007-05-22 14:23:00 623

原创 贝赛尔曲线

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;namespace testgrid...{    public partial

2007-05-22 11:42:00 833

原创 调色板程序

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;namespace testgrid...{    public partial

2007-05-22 11:19:00 961

原创 C#画的时钟控件

时钟控件代码: using System;using System.Collections.Generic;using System.ComponentModel;using System.Drawing;using System.Data;using System.Text;using System.Windows.Forms;using System.Drawing.Drawing

2007-05-21 10:35:00 1615

原创 LED显示时间

 using System;using System.Collections.Generic;using System.Text;using System.Drawing;using System.Windows.Forms;namespace testgrid...{    class SevenSegmentDisplay    ...{        Graphics g;     

2007-05-21 10:28:00 1002 1

ExtAspNet_v2.3.5_examples

Extjs的AspNet类库示例源码,Extjs的AspNet类库示例源码Extjs的AspNet类库示例源码

2011-10-27

javascript网页特效

用javascript写的网页特效

2007-06-22

C#智能客户端源码

微软写的C#智能客户端源码安装包。

2007-05-21

空空如也

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

TA关注的人

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