- 博客(11)
- 收藏
- 关注
原创 pushViewController presentModalViewController 视图切换
使用pushViewController和popViewController进行视图间的切换,就必须要求当前视图是个NavigationControllerself.navigationControler pushViewController 和 popViewController来进行视图切换 pushViewController是进入到下一个视图,popViewController是返回到上一
2015-09-01 15:41:15
351
转载 CGFloat、CGPoint、CGSize CGRect UIView UIWindow
CGGeometry类定义几何元素的结构和操作几何元素的函数。1、数据类型:CGFloat: 浮点值的基本类型CGPoint: 表示一个二维坐标系中的点CGSize: 表示一个矩形的宽度和高度CGRect: 表示一个矩形的位置和大小typedef float CGFloat;// 32-bittypedef double CGFloat;// 64-bit
2015-04-29 16:58:47
567
原创 OC基础
消息表达式消息表达式使用方括号([ 和 ])将消息本身(以及任何所需参数)括起来,同时将接收消息的对象放在最左边方括号右侧。例如,要将 insertObject:atIndex: 消息发送给 myArray 变量保存的对象,您会使用以下语法:[myArray insertObject:anObject atIndex:0];为避免声明大量局部变量来储存临时结果,Objective-
2015-02-04 11:10:11
427
原创 VMware Mac OS X ios 修改显示分辨率 VM10 OS X 10.9
在VMware10 下安装完 OS X 10.9后 ,系统默认的分辨率与显示器的不
2014-07-12 23:06:20
9346
转载 根据PBOC要求完成8583信息的组包及解包
/////////////#define __DEBUG_ISO8583_MAIN__ //#define __//e_log_ISO8583_EASTCOM__ /******************************************************************************** 文件名:ISO8583.c 功能:根据
2013-04-27 16:10:12
2313
原创 ISO8583 按PBOC要求完成8583信息的组包及解包
一般指令有两种类型:TPDU、报文头和应用数据三部分,另外有种只有应用数据部分现在我们有ISO8583报文如下(十六进制表示法):60 00 03 00 00 60 31 00 31 07 30 02 00 30 20 04 C0 20 C0 98 11 00 00 00 00 00 00 00 00 01 00 03 49 02 10 00 12 30 62 25 82 21
2013-04-27 16:04:03
2978
原创 activex ocx插入、调用dialog对话框
网上看到很多。都比较麻烦 下面这个是最简单的Dialog frame as an ActiveX controlI wanted to create a control which would behave as a dialog or formview (you can place controls here). There is a simple way to d
2013-04-03 14:28:51
1356
原创 动态加载文件 DLL
#include HMODULE hDll=NULL;CString filePath = "c:\\xxxxx\\";CFileFind finder;mkdir(filePath); ///如无则创建BOOL bWorking=finder.FindFile(filePath+"*.dll"); //获取第一个文件while(bWorking){bWorking=
2013-04-03 14:00:55
564
原创 ACTIVE X控件 为控件CAB文件指定解包路径及INF文件详解
示例.inf要实现的功能:1. 把TestCase.dll, TestCase.inf复制到C:\windows\system32\test目录中。2.若用户没有给目录则自动建立。3.TestCase.dll 需要注册 INF 文档范例:[version] signature="$CHICAGO$" ///(; 为必备项,signature="$CHICAGO
2013-04-02 17:56:50
1483
转载 #define用法集锦
#define用法集锦Definition:The #define DirectiveYou can use the #define directive to give a meaningful name to a constant in your program. The two forms of the syntax are:Syntax#define identifi
2013-01-04 22:39:04
411
原创 C++ 日志
简单日志#include ofstream fLog;int len;fLog.open("d:\\log.txt",ios::app);if(fLog.good()){fLogfLogchar* str1=new char[len *2+2];fLogif (str1 !=NULL){delete [] str1;str1 =N
2012-12-24 13:30:12
386
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人