- 博客(6)
- 收藏
- 关注
原创 图象处理(平移/旋转)
平移: Graphics^ graphics =this->CreateGraphics(); graphics->Clear(Color::White); Bitmap^image = gcnew Bitmap("showboy.bmp"); Rectangle rect =Rectangle(0,0,234,90); for(int i=0;i
2009-09-29 10:22:00
475
转载 常用的键盘key值
常用的键盘key值 Backspace->8 Tab->9 Return->13 Pause->19 CapsLock->20 Esc->27 Space->32 PageUp->33 PageDown->34 End->35 Home->36 LeftArrow->37 UpArrow->38
2009-09-29 10:21:00
779
转载 VBA的数据库导入和导出
Sub 导数据库()Dim conn As New ADODB.Connection 定义数据链接对象 ,保存连接数据库信息;请先添加ADO引用Dim rs As New ADODB.Recordset 定义记录集对象,保存数据表Dim strCn As String, strSQL As String 字符串变量strCn = "Provider=库名;Server=(IP地址);D
2009-09-29 10:14:00
1201
原创 excel文字整理(加粗、宋体10号、边框)
Function fmt(b, x, y)b=加粗行数 int (需传递进来的参数,要多少行进行整理)x=列长度 string (A,B,C类似这种的)y=行 intDo Until Cells(y, 1) y = y - 1Loop Range("A1:" & x & b).Font.Bold = True Range("A1:" & x & y).Se
2009-09-29 10:09:00
1215
转载 各种语言的关键字----VB
As 定义变量,比如dim a as long Binary 二进制方式读写文件 ByRef 按地址传递参数 Byval 值传递参数 Date 日期函数 Else 条件语句之“否则” Empty 表示“空” Error 错误对象 Input 读写文件的方式 Len 求字符串的长度 Let 属性定义的关键字 Me 当前对象,通常表示form或者activex的usercontrol Mid 从一
2009-09-29 09:48:00
482
转载 各种语言的关键字----C
auto :声明自动变量 double :声明双精度变量或函数 int: 声明整型变量或函数 struct:声明结构体变量或函数 break:跳出当前循环 else :条件语句否定分支(与 if 连用) long :声明长整型变量或函数 switch :用于开关语句 case:开关语句分支 enum :声明枚举类型 re
2009-09-29 09:43:00
510
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人