using UnityEngine;using System.Collections;public class CodeFunction : MonoBehaviour { void Start() { //1.UILabel //(1) 首先我们假定获取了一个UILabel...
分类:
其他好文 时间:
2015-05-12 20:44:25
阅读次数:
303
notification常用于下拉式的消息推送。Notification的构成Nitification的实例1.新建一个Builder,要选Notification.compat包。
2.然后用builder来设置nitification的属性。
代码:public class MainActivity extends Activity {
public static final int...
分类:
移动开发 时间:
2015-05-12 18:56:43
阅读次数:
261
In C++ , access control works on per-class basis, not on per-object basis.
重要的东西要说三遍,所以…1.在 C++中,存取控制能力是类的性质,不是对象的性质。
2.在 C++中,存取控制能力是类的性质,不是对象的性质。
3.在 C++中,存取控制能力是类的性质,不是对象的性质。作为在阅读<<Inside the obj...
分类:
数据库 时间:
2015-05-12 18:55:00
阅读次数:
139
方法一:使用传统的sql语句实现分页, public class UserprintDao如下 /// /// 取得用户申请记录列表(按分页) /// /// /// /// /// pub...
分类:
Web程序 时间:
2015-05-12 18:48:35
阅读次数:
307
元素选择器 h1 h2 class div====class this is web page this is web page this is web page ...
分类:
Web程序 时间:
2015-05-12 18:41:11
阅读次数:
156
元素选择器 h1 h2 class div====class this is web page this is web page this is web page ...
分类:
Web程序 时间:
2015-05-12 18:41:08
阅读次数:
121
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 5 namespace Linq101 6 { 7 class CustomSequence 8 { 9 publ...
分类:
其他好文 时间:
2015-05-12 18:39:35
阅读次数:
144
public TfindObjectByID(Serializable){ ParameterizedType pt=(ParameterizedType)this.getclass.getGenericSuperclass();Class}
分类:
其他好文 时间:
2015-05-12 18:26:48
阅读次数:
109
首先,我们在开始前提出一个问题:1.在运行时,对于一个java类,能否知道属性和方法;能否去调用它的任意方法? 答案是肯定的。本节所有目录如下:什么是JAVA的反射机制JDK中提供的Reflection APIJAVA反射机制提供了什么功能获取类的Class对象获取类的Fields获取类的Metho...
分类:
编程语言 时间:
2015-05-12 18:25:36
阅读次数:
265
代码如下: 1 # -*- coding: UTF8 -*- 2 from win32com.client import Dispatch 3 import win32com 4 import sys, os 5 from PyQt4 import QtCore, QtGui 6 7 class ....
分类:
编程语言 时间:
2015-05-12 18:24:30
阅读次数:
162