WPF前台绑定事件代码: 后台事件代码: public void
GridClick(RelayAction r, ExecuteEventArgs e) { var mouse = e.TriggerParameter as
MouseButt...
分类:
其他好文 时间:
2014-05-18 20:07:17
阅读次数:
397
public class AllSort{ static String[] buf =
{"1","2","44","7"}; public static void main(String[] args) { perm(buf, 0, 3);
}...
分类:
其他好文 时间:
2014-05-18 20:02:39
阅读次数:
343
重点:注意大小写,不注意细节,这点小事,还需要请教一个表单deng.jsp 用户名: 密码:
c.jsp 姓名: 密码: fine.java---这是一个java文件package com.a;public class ...
分类:
编程语言 时间:
2014-05-18 20:01:00
阅读次数:
494
在软件这个行业,做的越久,往往会觉得很多技术问题最终会偏向数据结构和算法。记得曾经大学的一堂课上,老师讲了一个关于冒泡排序的算法,下面是课本上的标准实现。
1 public class Sort 2 { 3 public void sortArray(int[] arry...
分类:
其他好文 时间:
2014-05-18 19:52:22
阅读次数:
299
#include #include #include #include #include
using namespace boost; using namespace std; class point {public: point(int
a=0,int b=0):x(a),y(b) {}...
分类:
其他好文 时间:
2014-05-18 19:42:18
阅读次数:
290
一、事件引起的内存泄露 1、不手动注销事件也不发生内存泄露的情况
我们经常会写EventHandler += AFunction; 如果没有手动注销这个Event handler类似:EventHandler –=
AFunction 有可能会发生内存泄露。 public class Pr...
分类:
Web程序 时间:
2014-05-18 19:40:30
阅读次数:
325
>>>>1. 概述>>> 2. 一个简单的例子 Client
Without Log4j * Description: a sample with log4j * @version 1.0 */ public class
ClientWithoutLog4j { /**...
分类:
其他好文 时间:
2014-05-17 21:54:39
阅读次数:
545
1.环境变量的配置:path键 值:bin文件夹的位置 classpath键
值:.2.第一个HelloWorld:public class Hello{ public static void main(String args[]){
System.out.print("Hello World!"....
分类:
移动开发 时间:
2014-05-17 21:41:13
阅读次数:
460
public class MainActivity extends Activity {
TextView text1, text2; Button button; Thread th; @Override protected void
onCreate(B...
分类:
编程语言 时间:
2014-05-17 21:30:11
阅读次数:
351
5.使用spring注解注入service,DAOaction:@ParentPackage(value =
"struts-default")@Namespace("/")@Controller@Scope("prototype")public class
BookAction extends A...
分类:
其他好文 时间:
2014-05-17 20:52:45
阅读次数:
218