AutomaticPropertiesDefaultValues Article_src.zip PropertyInfo[] props = o.GetType().GetProperties(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Static) for (int i = 0 i < props.Length i++) { PropertyInfo prop = props[i] if (prop.GetCustomAttributes(true).Length > 0) { object[] defaultValueAttribute = prop.GetCustomAttributes(typeof(DefaultValueAttribute), true) if (defaultValueAttribute != null) { DefaultValueAttribute dva = defaultValueAttribute[0] as DefaultValueAttribute if(dva != null) prop.SetValue(o, dva.Value, null) }
标签: AutomaticPropertiesDefaultValues PropertyInfo Article_src GetPropert
上传时间: 2014-11-22
上传用户:xaijhqx
(***FlatStyle v4.42.8.0 for DELPHI7 by comerose update***)2007.04.30 更新说明1.修正 TFlatListView 标题的平面显示(更加完美).2.增加 TFlatListView 的属性. ①ColorTitleFace以实现对标题平面颜色控制. ②ColorTitleCheck选择时的CheckBox的颜色控制. ③AllCheck对列表进行全选(只在CheckBoxs为True时有效). AllCheck=True时全选列表,AllCheck=False取消全选. ④GroundPic背景图像来源. ⑤GroundHas是否使用画背景图像(在OnDrawBackground事件中无效). ⑥GroundStretch是否放缩背景图像(在OnDrawBackground事件中无效). ⑦OnDrawBackground自定义重画事件(在GroundHas=false时,事件中有效). ⑧在标题中增加一个列表全选按钮(CheckBoxs=true和ViewStyle=vsReport时有效). 如果你之前的程序在OnCustomDraw中有代码的, 请把这些代码复制到OnDrawBackground事件中.3.修正 TFlatListBoxExt 和 TFlatCheckListExt 鼠标进入时的变色. (原来版本当列表数目显示区域少于控件区域时,会有部分地方不变色的BUG).4.优化一些代码。5.编译说明 ①首先打开 FlatVcls.dpk 包, 编译. ②再次打开 FlatStyle.dpk 包, 编译. ③成功!6.更详细的说明,请阅读内部的README.TXT文件.
标签: TFlatListView FlatStyle comerose DELPHI7
上传时间: 2013-12-31
上传用户:hongmo
最新发送短信的jar包 COutgoingMessage msg = new COutgoingMessage(mobile , message) msg.setMessageEncoding(CMessage.MessageEncoding.EncUcs2) msg.setStatusReport(true) srv.sendMessage(msg)
标签: COutgoingMessage setMessageEncoding msg message
上传时间: 2016-07-29
上传用户:大三三
wince EVC 简单的图片浏览功能,自已随意扩展 支持 *.bmp *.jpg *.gif *.png 等等 // TODO: Add your control notification handler code here CString defFilter("选中其中一个文件|*.bmp *.jpg *.gif *.png") CFileDialog dlg(TRUE,NULL,NULL,OFN_ALLOWMULTISELECT,defFilter) if(dlg.DoModal()==IDOK){ PathName=dlg.GetPathName() }
标签: notification control wince TODO
上传时间: 2016-09-22
上传用户:gut1234567
LCD Driver datasheet The SPF54126A, a 262144-color System-on-Chip (SoC) driver LSI designed for small and medium sizes of TFT LCD display, is capable of supporting up to 176xRGBx220 in resolution which can be achieved by the designated RAM for graphic data. The 528-channel source driver has true 6-bit resolution, which generates 64 Gamma-corrected values by an internal D/A converter. The source driver of SPFD54126A adopts OP-AMP structure to enhance display quality and it cooperates with advanced circuitry techniques to reduce power consumption.
标签: System-on-Chip datasheet designed Driver
上传时间: 2016-09-22
上传用户:xauthu
The Inter IC bus or I2C bus is a simple bidirectional two wire bus designed primarily for general control and data transfer communication between ICs. Some of the features of the I2C bus are: • Two signal lines, a serial data line (SDA) and a serial clock line (SCL), and ground are required. A 12V supply line (500mA max.) for powering the peripherals often may be present. • Each device connected to the bus is software addressable by a unique address and simple master/ slave relationships exist at all times masters can operate as master-transmitters or as master-receivers. • The I2C bus is a true multi-master bus including collision detection and arbitration to prevent data corruption if two or more masters simultaneously initiate data transfer systems. • Serial, 8-bit oriented, bidirectional data transfers can be made at up to 100 KBit/s in the standard mode or up to 400 KBit/s in the fast mode.
标签: bus bidirectional primarily designed
上传时间: 2013-12-11
上传用户:jeffery
在作业1的Employee和EmployeeDemo两个类基础上修改 1,重写Employee类的toString方法,返回Employee类的相关信息的字符串形式 重写Employee类的equals方法,如果两个Employee实例的名字和所属部门相同,返回true; 并在EmployeeDemo类里面验证上述两个方法 2,定义Clerk、Salesman、Engineer三个类,分别继承自Employee 为Salesman增加一个年销售额属性 为Engineer增加一个年消化人月数属性 3,将下面的描述反映到程序里 普通员工年终奖金分配方案为月薪×2 Salesman:销售额×2%+月薪×1.8 Engineer:年消化人月数×300+月薪×2.5 Clerk:月薪×2.5
标签: EmployeeDemo Employee 修改
上传时间: 2016-10-21
上传用户:jeffery
下面的函数LoadBmpFile,其功能是从一个.bmp文件中读取数据(包括BITMAPINFOHEADER,调色板和实际图象数据),将其存储在一个全局内存句柄hImgData中,这个hImgData将在以后的图象处理程序中用到。同时填写一个类型为HBITMAP的全局变量hBitmap和一个类型为HPALETTE的全局变量hPalette。这两个变量将在处理WM_PAINT消息时用到,用来显示位图。该函数的两个参数分别是用来显示位图的窗口句柄,和.bmp文件名(全路径)。当函数成功时,返回TRUE,否则返回FALSE。
标签: LoadBmpFile 函数
上传时间: 2016-10-26
上传用户:z754970244
All people curious about how Linux works and why it is so efficient will find answers here. After reading the book, you will find your way through the many thousands of lines of code, distinguishing between crucial data structures and secondary ones—in short, becoming a true Linux hacker.
标签: efficient curious answers people
上传时间: 2013-12-29
上传用户:lifangyuan12
“软件限时注册”控件(TShareRegist)功能说明: 1、只要将该控件加入主窗体,使Action属性设为true,再设置其它属性,你的软件就有限时注册的功能了,只要你牢记三个密钥,并加上给你的算号软件(RegObject_Admin.exe)你就可以无敌天下了。 2、控件使用目前最严严谨的加密算法,5级加密。是破解成为不可能,可以放心使用。 3、请记住,设计不同的软件,给三个不同的密钥,该控件可以让你享用终生。 控件属性说明: Action:boolean 是否开启限时注册功能 ShareDays:integer 免费使用的天数 ShareCount:integer 免费使用的次数 RootKey:string 注册表的主根 EncrypKey1:string 密钥1 EncrypKey2:string 密钥2 EncrypKey3:string 密钥3 Money:string 注册费用 ActiveMenuItem:TMenuItem 激活注册窗口的菜单项(点击此菜单项便能弹出“注册窗体”) ActiveButton:TButton 激活注册窗口的按钮(同上) Verion:string 控件版本号,只读的
标签: TShareRegist 控件 软件
上传时间: 2013-12-25
上传用户:fredguo