1 class SpriteTestDemo : public BaseTest 2 { 3 protected: 4 std::string _title;// 没用到 5 6 public: 7 SpriteTestDemo(void); 8 virtual ~...
分类:
其他好文 时间:
2014-09-18 20:39:24
阅读次数:
150
C#实现下载功能protected void Button4_Click(object sender, EventArgs e) { string fileName = "aaa.txt";//客户端保存的文件名 string filePath = Server.MapPath("DownLoad/...
分类:
其他好文 时间:
2014-09-18 20:37:34
阅读次数:
177
获取母版页的相关内容有两种方法1 通过findcontrol找控件ID需要在此事件中~因为Page_load中时是先内容页加载然后才是母版页加载 protected void Page_LoadComplete(object sender, EventArgs e) { L...
分类:
Web程序 时间:
2014-09-18 16:07:24
阅读次数:
172
FROM :http://blog.163.com/weiwenjuan_bj/blog/static/14035033620129304183850/?suggestedreadingpublic:公有类型 在子类中可以通过self::var调用public方法或属性,parent::meth.....
分类:
Web程序 时间:
2014-09-18 16:01:14
阅读次数:
226
内部类是指在一个外部类的内部再定义一个类。类名不需要和文件夹相同。*内部类可以是静态static的,也可用public,default,protected和private修饰。(而外部顶级类即类名和文件名相同的只能使用public和default)。注意:内部类是一个编译时的概念,一旦编译成功,就会...
分类:
编程语言 时间:
2014-09-18 12:51:43
阅读次数:
293
要实现的功能:某项操作后,使用alert()提示框提示"操作成功"之类的提示,然后使用response.Redirect()来进行页面重定向。出现的问题:运行代码,操作完成后,直接跳转到指定页面,但是并没有弹框提示。示例代码:1 protected void gvAttrList_RowDeleti...
分类:
Web程序 时间:
2014-09-18 11:09:13
阅读次数:
444
Problem Description
Today is the 10th Annual of “September 11 attacks”, the Al Qaeda is about to attack American again. However, American is protected by a high wall this time, which can be treatin...
分类:
其他好文 时间:
2014-09-18 00:52:23
阅读次数:
268
public 同一程序集中的任何其他代码或引用该程序集的其他程序集都可以访问该类型或成员。 private 只有同一类或结构中的代码可以访问该类型或成员。 protected 只有同一类或结构或者此类的派生类中的代码才可以访问的类型或成员。 internal 同一程序集中的任何代码都可以访问该类型或...
分类:
其他好文 时间:
2014-09-17 21:44:42
阅读次数:
270
public class MainActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);...
分类:
移动开发 时间:
2014-09-17 12:13:12
阅读次数:
174
public class LockActivity extends Activity{
@Override
protected void onCreate(Bundle savedInstanceState) {
// TODO Auto-generated method stub
super.onCreate(savedInstanceState);
setCont...
分类:
移动开发 时间:
2014-09-16 23:44:11
阅读次数:
308