内存从网上论坛摘抄整理思路:给控件设置多行属性,设置垂直滚动条,Auto
Vscroll设置为true,放入文本后把插入点设置到末尾pEdit->LineScroll(pEdit->GetLineCount());
滚动条滚动到最下端int len = pEdit->GetWindowTextLen...
分类:
其他好文 时间:
2014-05-01 13:27:49
阅读次数:
267
import java.io.*;import java.util.*;import
java.util.concurrent.*;public class SearchFile{ public static void main(String
... strings) { final int FI....
分类:
其他好文 时间:
2014-05-01 13:18:50
阅读次数:
253
public static class ExtensionMethods{/// ///
将List转换成DataTable/// /// /// /// public static DataTable ToDataTable(this IList
data){PropertyDescriptorC...
分类:
其他好文 时间:
2014-05-01 13:03:47
阅读次数:
355
import groovy.swing.* import javax.swing.* import
java.awt.* def swing = new
SwingBuilder()swing.frame(title:"hello",show:true){ panel() { def mm=swi....
分类:
其他好文 时间:
2014-05-01 00:20:13
阅读次数:
342
public class SubStrHelper { /// /// 截取字符串长度,中文二字节
/// /// /// 字节长度 /// public static strin...
分类:
其他好文 时间:
2014-04-30 23:51:33
阅读次数:
441
windows下面可以主线程while loop接受input;但是觉得很丑。
linux没办法这样,可以用注册信号的办法。实现起来也不难:
#include "stdio.h"
#include "unistd.h"
#include "signal.h"
#include "error.h"
volatile bool isStop = false;
static void handl...
分类:
其他好文 时间:
2014-04-29 13:42:21
阅读次数:
418
* {
margin:0;
padding:0;
}
html,
body,
#box {
height:100%;
font:small/1.5 "宋体", serif;
}
body {
text-align:center;
}
#box {
text-align:left;
background:#666;
display:table;
wi...
分类:
Web程序 时间:
2014-04-29 13:36:20
阅读次数:
469
#include
using namespace std;
template
class testClass{
public:
static int _data;
};
int testClass::_data = 1;
int testClass::_data = 2;
int main()
{
cout ::_data << endl;
cout ::_data << ...
分类:
其他好文 时间:
2014-04-29 13:21:20
阅读次数:
410
欢迎转载,转载请声明出处!
-----------------------------------------
前言:
java语言中,参数的传递只有一种机制,那就是值传递。
举例:
下面将通过几个例子来说明java中的参数传递机制,这些例子基本涵盖了所有参数传递的情况。
1.基本数据类型:
public static void testBase(int i)...
分类:
编程语言 时间:
2014-04-28 10:11:40
阅读次数:
379
program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
namespace Tst
{
class Program
{
static void Main(string[] arg...
分类:
移动开发 时间:
2014-04-27 21:35:59
阅读次数:
467