码迷,mamicode.com
首页 >  
搜索关键字:protected internal    ( 7704个结果
zoj 1203 Swordfish (kruskal 克鲁斯卡尔)
Swordfish Time Limit: 2 Seconds      Memory Limit: 65536 KB There exists a world within our world A world beneath what we call cyberspace. A world protected by firewalls, passwords and the mo...
分类:其他好文   时间:2014-08-18 20:32:12    阅读次数:334
OC点语法和变量作用域
OC点语法和变量作用域一、点语法(一)认识点语法声明一个Person类: 1 #import 2 3 @interface Person : NSObject 4 { 5 int _age;//默认为@protected 6 } 7 8 - (void)setAge:(int)age;...
分类:其他好文   时间:2014-08-18 14:27:02    阅读次数:166
Asp.net中前台javascript与后台C#交互
方法一:使用Ajax开发框架,后台方法定义前添加[AjaxPro.AjaxMethod],然后就可以在前台js脚本中调用后台C#函数。方法二:后台方法声明为public或者protected,然后前台使用js脚本进行调用。以下是代码片段:.cs public string Str() { retur...
分类:编程语言   时间:2014-08-18 14:21:42    阅读次数:237
关于Repeater嵌套绑定的问题
前台代码: "> "> " href="media.aspx?types=&ptypeid="> 后台代码:protected void rep1_ItemDataBound(object sender, RepeaterItemEventArgs e) { //判断里层r...
分类:其他好文   时间:2014-08-18 12:29:44    阅读次数:218
repeat 航绑定示例
//行绑定 protected void rpList_ItemDataBound(object sender, RepeaterItemEventArgs e) { if (e.Item.ItemType == ListItemType.Item ...
分类:其他好文   时间:2014-08-18 10:44:33    阅读次数:220
Android获取系统ID(com.android.internal.R)
R.id.icon 怎么获取,这个东西其实在com.android.internal.R 这个里面,但是这个类我们访问不到怎么办?反射呗, Java 的反射可谓是万能啊,啥都可以拿到只要他在。[java]view plaincopyClassclazz=Class.forName("com.andr...
分类:移动开发   时间:2014-08-18 10:43:23    阅读次数:345
webform中 ajax调用后台方法(非webservice)
后台: public partial class Ajax_ShoppingCart : System.Web.UI.Page { bookdbDataContext bdc = Connect.bookdb(); protected void Page_Load(...
分类:Web程序   时间:2014-08-18 10:38:53    阅读次数:346
如何获取android手机联系人并按字母展示(一)
android提供了本地数据库的查询uri,可以查询出数据: 采用一个AsyncQueryHandler来进行查询, AsyncQueryHandler自己开启了线程来进行数据查询,很方便 protected AsyncQueryHandler mQueryHandler; protected final void queryPersonal() { mQueryHandler....
分类:移动开发   时间:2014-08-18 08:05:23    阅读次数:317
Android解读CheckBox
打开源码中CheckBox.java文件,我们可以看到如下内容:publicclassCheckBoxextendsCompoundButton{ publicCheckBox(Contextcontext){ this(context,null); } publicCheckBox(Contextcontext,AttributeSetattrs){ this(context,attrs,com.android.internal.R.attr.checkboxStyl..
分类:移动开发   时间:2014-08-18 01:39:44    阅读次数:267
面向对象之类的声明
保存类文件时要用这种格式:类名.class.php,这方便在项目中做自动加载。在类中声明成员属性时,属性前面必须要有修饰词,比如private,protected,public,static,const,var等,可以是一个也可以多个,当不知道使用哪个修饰词时用var或者public。当然,类和成员...
分类:其他好文   时间:2014-08-17 13:01:52    阅读次数:194
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!