自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(74)
  • 资源 (38)
  • 收藏
  • 关注

原创 ActiveMQ构建高稳定性消息中间件

ActiveMQ 构建高稳定性的消息中间件可以采用多种方式,其中的一种方式是采用共享文件的方式,这种部署方式比较简单.采用这种方式部署的主要优点是系统的稳定性高,一旦一个broker因为异常关闭,另一个broker可以马上启动,使系统具有高稳定性的优点.这里假设有两个broker,一个叫A,一个叫B修改A与B的配置文件                 把A与B的

2014-03-12 13:44:52 2121

原创 Win7 安装Mac OS 10.6

今天安装了Mac OS,由于初次安装走了不少弯路, 在此和大家分享一下安装过程,以便大家少走一些弯路,安装使用的工具,Virtualbox4.2 , 这个工具比较好用, 然后下载了Mac10.6的操作系统,让后用UltraISO转化成iso镜像文件, 最重要是引导文件,找了N中都没有引导成功,知道发现了iBoot 才引导成功.

2013-08-20 13:32:46 1056

转载 批量更新 sql

批量更新Card数据  1, 首先建立数据库连接  2  把部分数据填充到Dataset中 3 修改Dataset中数据的值 4 更新Dataset 5 循环操作,具体操作过程见下面代码  public void BatchUpdate(ListCard> list)        {            using (SqlConnection conn = new

2013-04-09 09:24:24 957

原创 B+数的插入实现

#include #include #include #include #include #include #include #include using namespace std;//徐struct TreeNode{ int maxlength; int *data; TreeNode **nodes; bool endpoint;

2012-02-17 08:56:00 761

原创 MessageQueue c# 例子

//No, we need to create it.using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using S

2012-01-31 16:03:06 5374

转载 APIKey android

1. 首先先要获取你的debug keystore位置:打开Eclipse--->Windows--->Preferences--->Android--->Build查看默认的debug keystore位置,我的是C:/Documents and Settings/MYNAME /.android/debug.keystore2. 在cmd中执行:keytool -l

2012-01-06 15:02:18 544

转载 TabHost Android

package com.dfdf;import android.app.Activity;import android.app.TabActivity;import android.content.Intent;import android.content.res.Resources;import android.os.Bundle;import android.widget.Tab

2012-01-06 14:07:16 469

转载 照相Android

package com.cor;import android.app.Activity;import android.content.Intent;import android.graphics.Bitmap;import android.os.Bundle;import android.view.View;import android.view.View.OnClickListen

2012-01-06 12:03:55 381

转载 BroadcastReceiver Android

public class HelloBroadReciever extends BroadcastReceiver { //如果接收的事件发生 @Override public void onReceive(Context context, Intent intent) { //则输出日志

2012-01-06 09:10:27 343

原创 SharedPreferences Android

SharedPreferences sp_name = this.getSharedPreferences("number", Context.MODE_WORLD_READABLE); boolean flag = sp_name.edit().putInt("num", 3).commit(); if(true == flag) Toast.m

2012-01-05 12:45:01 407

转载 OptionsMenu Android

@Override public boolean onCreateOptionsMenu(Menu menu) { // TODO Auto-generated method stub menu.add(Menu.NONE, Menu.FIRST + 1, 5, "删除").setIcon( android.R.drawab

2012-01-05 10:57:39 773

转载 SQLite Android

package com.cor;import android.R.anim;import android.app.Activity;import android.app.Notification;import android.app.NotificationManager;import android.app.PendingIntent;import android.content.

2012-01-05 10:48:17 427

原创 Service 生命周期

public class MyService extends Service { @Override public void onStart(Intent intent, int startId) { // TODO Auto-generated method stub Toast.makeText(this, "onstart", Toast.LENGTH_SHORT).show(

2012-01-05 09:48:19 454

原创 定时关闭窗体

public partial class Form2 : Form { private System.Timers.Timer timer = new System.Timers.Timer(); public Form2() { InitializeComponent(); InitStat

2012-01-03 22:39:12 750

原创 Datagridview 绑定 List 方法

c# DatagridView 绑定List的方法如下IList lists; public Form2() { InitializeComponent(); lists = new BindingList(); lists.Add(new Person(2));

2012-01-03 22:35:05 929

转载 Android Notification 例子

package com.test;import android.app.Activity;import android.app.Notification;import android.app.NotificationManager;import android.app.PendingIntent;import android.content.Intent;import android

2012-01-03 22:33:43 1753

原创 Android GridView使用

super.onCreate(savedInstanceState); setContentView(R.layout.formmain); GridView view = (GridView)findViewById(R.id.gridView1);// view.setAdapter(new ImageAdapter(this)); for(int i=0;i<3;

2011-12-31 16:07:19 527

转载 Android中Timer使用方法

Java代码 package com.ray.test; import java.util.Timer; import java.util.TimerTask; import android.app.Activity; import android.os.Bundle; public class JavaTimer extends Activity {

2011-12-31 12:17:33 9079 1

转载 Android Menu的创建

package com.test;import android.app.Activity;import android.content.Intent;import android.os.Bundle;import android.provider.Settings;import android.view.Menu;import android.view.MenuInflater;

2011-12-30 21:28:49 954

转载 WCF: Host、Client、MetadataExchage

Host三种Host的方式:IIS Host、WAS Host、Self-Host。IIS HostIIS这种非常简单,但只支持HTTP协议。不过,你可以借助IIS来管理服务的生命周期。在IIS上发布WCF Service是极其简单的,只需要写一个后缀名为svc的文件就ok了:还记得Web Service的asmx文件么?是不是如出一辙!Self-H

2011-12-22 16:54:37 1836

转载 类图画法 http://blog.csdn.net/xhf55555/article/details/6896316

下面是类图的实例(好像大话设计中有):UML中类图实例接口:空心圆+直线(唐老鸭类实现了‘讲人话’);依赖:虚线+箭头(动物和空气的关系);关联:实线+箭头(企鹅需要知道气候才迁移);聚合:空心四边形+实线+箭头(雁群和大雁的关系);合成/组合:实心四边形+实线+箭头(鸟和翅膀的关系);泛化/继承:空心三角形+实线(动物和鸟的继承关系);实现:空心三

2011-12-21 10:02:43 2404

转载 c# ToString() 格式化字符串 、C# String.Format格式说明 http://linglong117.blog.163.com/blog/static/2771454720

格式化数值:有时,我们可能需要将数值以一定的格式来呈现,就需要对数值进行格式化。我们使用格式字符串指定格式。格式字符串采用以下形式:Axx,其中 A 为格式说明符,指定格式化类型,xx 为精度说明符,控制格式化输出的有效位数或小数位数。格式说明符说明示例输出C货币2.

2011-12-20 12:42:31 2512

转载 c# 图像截取

图像截取的相关方法参考 public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { Image pic = new Bitmap(this.Widt

2011-12-18 23:04:17 1223

转载 全局钩子

这是一篇关于c#使用系统钩子的类,具体的引用地址忘了,不好意思namespace GlobalHook{ /// /// This class allows you to tap keyboard and mouse and / or to detect their activity even when an /// application runes in background o

2011-12-18 22:22:24 464

原创 分布式事务管理 CommittableTransaction

对于分布式事务的处理与本地事务的处理有很大的区别,首先必须保证你所使用的数据库必须支持对分布式事务的支持,有些数据库只支持本地事务 private void AddItem(int id, int money, Transaction trans) { SqlConnection conn = new SqlConnection(Str_DataBa

2011-12-18 22:19:44 1844

转载 MethodInvoke 和BindingManagerBase用法 c#

MethodInvoker methodInvoker = delegate() { DataTable dt = dataGridView1.DataSource as DataTable; if (dt != null) { Bindi

2011-12-13 21:36:08 1155

原创 DatagridViewImageColumn 学习

private void dataGridView1_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e) { if (dataGridView1.Columns[e.ColumnIndex].Name.Equals("pic")) {

2011-12-13 21:35:07 3298 1

转载 CSharpCodeProvider 学习 c#

using (CSharpCodeProvider provider = new CSharpCodeProvider()) { CompilerParameters options = new CompilerParameters(); options.GenerateInMemory = true;

2011-12-13 21:33:40 2714

转载 对象池的创建 c#学习

class Expensive { static Stack pool = new Stack(); public static Expensive GetObjectFormPool() { return (Expensive)pool.Pop(); } public static

2011-12-06 15:07:14 575

转载 C#读取配置文件详解:转自(http://hi.baidu.com/huahua382811/blog/item/27d43cef3bd587f7b3fb956d.html)

C#读取配置文件需要注意的一些问题:C#读取配置文件1.了解配置文件概述:应 用程序配置文件是标准的 XML 文件,XML 标记和属性是区分大小写的。它是可以按需要更改的,开发人员可以使用配置文件来更改设置,而不必重编译应用程序。配置文件的根节点是 configuration。我们经常访问的是appSettings,它是由.Net预定义配置节。我们经常使用的配置文件的架构是象下面的形式。先

2011-12-05 20:34:46 1369

原创 java 调用c#

public static void main(String[] args) throws Exception { Service1Stub stub = new Service1Stub("http://localhost:2438/Service1.asmx"); //下面这句比较重要 stub._getServiceClient().getOptions().setProperty

2011-12-02 14:27:44 647

转载 Java 创建简单的WebService (转载自http://wl-ldy.iteye.com/blog/1055428)

使用Axis开发WebService 1.下载并安装Axis 1)登陆http://axis.apache.org/axis/站点下载Axis    下载axis-bin-1_4.zip,解压后的目录结构如下:        2)安装Axis    首先要成功的安装Tomcat,然后将下载的Axis目录下面的webapps中的axis的    整个文件夹全部拷贝到T

2011-12-01 17:01:48 729

转载 DataTable操作 c#学习

protected void Page_Load(object sender, EventArgs e) { //①Create a DataTable DataTable dt = new DataTable("Table_AX"); //②Add columns for DataTable //Method 1

2011-11-27 22:17:12 316

转载 更新轨迹 MapInfo操作

private void UpdateTrack(string tableName, string layerName,DPoint newPos) { Table table = Session.Current.Catalog.GetTable(tableName); if (table != null) {

2011-11-27 22:15:18 1004

原创 Stopwatcher 使用 c#学习

Stopwatch watcher = new Stopwatch(); watcher.Start(); Thread.Sleep(2); watcher.Stop(); Console.WriteLine(watcher.ElapsedMilliseconds.ToString());

2011-11-27 22:12:34 2492

转载 鹰眼功能

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using MapInfo.Ma

2011-11-27 22:11:23 1077

转载 Array CreateInstance c# 学习

public static Array ReLocateArray(Array oldArray, Int32 length) { Type elementType = oldArray.GetType().GetElementType(); Array newArray = Array.CreateInstance(elementT

2011-11-27 22:10:00 1314

转载 c# 结构体定制特性

[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Auto)] class OSVersionInfo { public UInt32 OSVersionInfoSize = 0; public UInt32 MajorVersion = 0;

2011-11-27 22:08:58 356

转载 java 深度克隆

public Object deepClone() throws ClassNotFoundException, IOException{          ByteArrayOutputStream bo = new ByteArrayOutputStream();          ObjectOutputStream oo = new ObjectOutputStream(bo);

2011-11-19 21:37:47 321

转载 DatagridView 操作

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using Sys

2011-11-19 21:37:19 348

Oracle 10G_Client

Oracle 10G_Client

2013-10-14

iBoot引导文件

iBoot引导文件

2013-08-20

架构之美pdf

架构之美

2013-08-02

head first javascript

head first javascript

2013-08-02

head first sql

head first sql

2013-08-02

masm安装包

masm

2013-05-13

InstallShield

InstallShield教程

2013-05-03

PLSQL工具.......

PL_SQL

2012-09-28

设计模式完整版Head First

设计模式完整版Head First

2012-09-28

软件需求分析经典教材

软件需求分析经典教材

2012-01-03

Microsoft.NET.框架程序设计

Microsoft.NET.框架程序设计(修订版).

2012-01-03

天敏通用摄像头驱动程序

天敏通用摄像头驱动天敏通用摄像头驱动天敏通用摄像头驱动天敏通用摄像头驱动天敏通用摄像头驱动天敏通用摄像头驱动天敏通用摄像头驱动

2011-08-03

EMTASS通信框架

EMTASSEMTASSEMTASSEMTASSEMTASSEMTASSEMTASSEMTASSEMTASSEMTASS

2011-08-01

c#网络编程

c#网络编程c#网络编程c#网络编程c#网络编程c#网络编程c#网络编程c#网络编程c#网络编程c#网络编程c#网络编程

2011-07-14

visual c++图像处理程序设计

图像处理程序设计源代码图像处理程序设计源代码图像处理程序设计源代码图像处理程序设计源代码图像处理程序设计源代码图像处理程序设计源代码图像处理程序设计源代码图像处理程序设计源代码图像处理程序设计源代码图像处理程序设计源代码

2010-12-11

图像处理程序设计pdf

图像处理程序设计pdf图像处理程序设计pdf图像处理程序设计pdf图像处理程序设计pdf图像处理程序设计pdf图像处理程序设计pdf图像处理程序设计pdf图像处理程序设计pdf图像处理程序设计pdf图像处理程序设计pdf图像处理程序设计pdf

2010-12-11

C++ GUI Programming with Qt

C++ GUI Programming with QtC++ GUI Programming with QtC++ GUI Programming with QtC++ GUI Programming with QtC++ GUI Programming with QtC++ GUI Programming with QtC++ GUI Programming with Qt

2010-12-11

visual assist

visual assistvisual assistvisual assistvisual assistvisual assistvisual assistvisual assistvisual assistvisual assistvisual assistvisual assistvisual assistvisual assistvisual assist

2010-12-11

Effective+C第2版

Effective+C第2版Effective+C第2版Effective+C第2版Effective+C第2版Effective+C第2版Effective+C第2版Effective+C第2版Effective+C第2版Effective+C第2版Effective+C第2版Effective+C第2版Effective+C第2版Effective+C第2版Effective+C第2版

2010-10-23

programming windows

windows 程序设计programming windowswindows 程序设计programming windowswindows 程序设计programming windowswindows 程序设计programming windowswindows 程序设计programming windowswindows 程序设计programming windowswindows 程序设计programming windowswindows 程序设计programming windows

2010-10-23

ajax 经典教程ajax 经典教程ajax 经典教程

ajax 经典教程ajax 经典教程ajax 经典教程ajax 经典教程ajax 经典教程ajax 经典教程ajax 经典教程ajax 经典教程

2009-12-05

java2图形设计完整版

java2图形设计完整版java2图形设计完整版java2图形设计完整版java2图形设计完整版java2图形设计完整版java2图形设计完整版java2图形设计完整版java2图形设计完整版java2图形设计完整版java2图形设计完整版

2009-10-26

java2图形设计完整版

java2图形设计完整版java2图形设计完整版java2图形设计完整版java2图形设计完整版

2009-10-25

Test-Driven Development by Example.pdf

Test-Driven Development by Example.pdf Test-Driven Development by Example.pdf Test-Driven Development by Example.pdf

2009-10-16

Java - Wrox - Expert One-on-One J2EE Design and Development.chm

Java - Wrox - Expert One-on-One J2EE Design and Development.chm Java - Wrox - Expert One-on-One J2EE Design and Development.chm Java - Wrox - Expert One-on-One J2EE Design and Development.chm

2009-10-16

jbpm jpdl 帮助文档pdf版

jbpm jpdl 帮助文档pdf版jbpm jpdl 帮助文档pdf版jbpm jpdl 帮助文档pdf版jbpm jpdl 帮助文档pdf版

2009-10-07

jbpm 配置视频 jbpm配置视频

找了好久才找到jbpm的配置视频。希望对大家有所帮助。 jbpm配置视频啊jbpm配置视频jbpm配置视频

2009-10-07

mysql-connector-java

各种不同版本的mysql-connector-java驱动包,连接mysql数据库的必须jar包

2009-09-25

现代模式识别pdf教程

模式识别中一本不错的教程,希望对大家有所帮助

2009-07-25

设计模式之----适配器

这是设计模式的第三部分。由于太大,一次只能上传一章,不好意思啊

2009-07-25

设计模式1-策略模式

这是设计模式的一部分,主要是关于策略模式的,希望对大家有用。

2009-07-25

MATLAB7_0基础教程

MATLAB7_0基础教程介绍了matlab操作的一些基本方法和对一些功能的介绍,是学习基础matlab的一本好教程

2009-04-13

linux 精华教程

linux 精华教程,不错,对初学者是不错的选择,快下吧,。。。。。。。。。。。。。。。

2008-11-15

空空如也

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

TA关注的人

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