Windows Form application version:private void
Form1_Load(object sender, EventArgs e) { this.BackColor = Color.Red;
System.Drawing.Drawing2D.GraphicsPa...
分类:
其他好文 时间:
2014-06-06 22:46:00
阅读次数:
208
package javatest.basic22;import java.io.File;import
java.io.IOException;public class FileTest { public void getFileName(File file){
//判断是否是文件 ...
分类:
编程语言 时间:
2014-06-06 22:44:05
阅读次数:
271
关于一个ATM的简单程序......算是我写的第一个最长的程序吧,还是值得纪念的,虽然不怎么完美,功能也不是很齐全,但是第一次都是值得留恋的。#include
#includeint main(void){int D,W,Z;int Y=10000,Y1,Y2;int Account=622110,...
分类:
其他好文 时间:
2014-06-04 14:50:43
阅读次数:
251
package com.saic.grape.controller;
public class Data {
private int j=0;
/**
* 加法
*/
public synchronized void inc() {
j++;
System.out.println("inc 加法运算>>"+j);
}
/**
* 减法
*/...
分类:
编程语言 时间:
2014-06-04 14:03:01
阅读次数:
356
package com.shiyeqiang.tree;
import java.util.Stack;
public class BiTree {
public static void main(String[] args) {
// 首先构造叶子节点
BiTree leafA1 = new BiTree(4);
BiTree leafA2 = new BiTree(5);...
分类:
其他好文 时间:
2014-06-04 13:54:31
阅读次数:
374
文章目的介绍在.NET中取得代码行数的方法代码[STAThread]
static void Main(string[] args)
{
ReportError("Yay!");
}
static private void ReportError(string Message)
{
StackFrame CallStack = new StackFrame(1, true);...
分类:
Web程序 时间:
2014-06-04 13:44:20
阅读次数:
336
新建立MVC3项目,名为12-1ControllersAndActions,使用空模板。Global.asax中默认的路由定义为: public static
void RegisterRoutes(RouteCollection routes) { ...
分类:
其他好文 时间:
2014-06-03 15:40:46
阅读次数:
264
#include #include #include #include #include
#include #include using namespace std;bool pre_arry[1100];void pre_cnt() //素数筛{
memset(pre_arry,1,sizeof....
分类:
其他好文 时间:
2014-06-03 14:57:38
阅读次数:
259
/*通过直接预分区的方式建表*/private static void
printTableRegion(String tableName)throws IOException{ System.out.println("Prtint
region of table:"+tableName);/...
分类:
其他好文 时间:
2014-06-03 14:51:05
阅读次数:
207
本文转载至http://www.verydemo.com/demo_c101_i46895.html一、与webView进行交互,调用web页面中的需要传参的函数时,参数需要带单引号,或者双引号(双引号需要进行转义在转义字符前加\),在传递json字符串时不需要加单引号或双引号。1-(void)we...
分类:
Web程序 时间:
2014-06-03 14:40:08
阅读次数:
649