PDE_DATA 的定义
Location:
/fs/proc/internal.h
static inline struct proc_dir_entry *PDE(const struct inode *inode)
{
return PROC_I(inode)->pde;
}
static inline void *__PDE_DATA(const struct inode...
分类:
其他好文 时间:
2014-08-08 02:00:25
阅读次数:
203
类级别的封装是最常见的封装形式。每个Object Pascal的类,有四种访问级别:private、protected、public、published。其中: ...
分类:
其他好文 时间:
2014-08-08 01:37:55
阅读次数:
258
在页面中使每个产品类别都展示重复的样式又想代码简洁,这时就要设置一个自定义控件。拖入一个Repeater控件设置好样式在page_load事件下面写一个属性:protected voidPage_Load(object sender, EventArgs e){ if(!isPostBack)...
分类:
Web程序 时间:
2014-08-08 01:36:34
阅读次数:
280
在Android4.2的源码Build/prduct_config.mk里面遇到一个遗憾:# Convert a short name like "sooner" into the path to the product
# file defining that product.
#
INTERNAL_PRODUCT := $(call resolve-short-product-name, $(...
分类:
移动开发 时间:
2014-08-07 23:15:05
阅读次数:
340
1.Session方法 A.aspx传参数,在点击控件函数中protected void LinkButton1_Click1(object sender, EventArgs e){ String strId = txtCid.Text; Session["C_Id"] = strId...
分类:
其他好文 时间:
2014-08-07 21:48:10
阅读次数:
195
High Level OverviewAt a coarse level, AS 7 consists of two main elements:A core manageable service container based on modular classloadingExtensions t...
分类:
其他好文 时间:
2014-08-07 18:25:10
阅读次数:
262
关于继承,之前一直使用的是public,于是查了点资料1private, public, protected 访问标号的访问范围private:只能由1.该类中的函数、2.其友元函数访问。不能被任何其他访问,该类的对象也不能访问。protected:可以被1.该类中的函数、2.子类的函数、3.其友元...
分类:
编程语言 时间:
2014-08-07 18:01:00
阅读次数:
181
我引起此原因的功能如下:在aspx页面添加按钮JS方法:function downPPT() {$("#Btn_DownPPT").click(); } ………… ………… ………… aspx.cs方法protected void Btn_DownPPT_Click(object...
分类:
Web程序 时间:
2014-08-07 12:37:40
阅读次数:
207
一、我需要从服务器下载ppt文件到本地protected void Btn_DownPPT_Click(object sender, EventArgs e) { DBService svc = new DBService(); svc.DownPpts(); string strFileName ...
分类:
Web程序 时间:
2014-08-07 12:31:09
阅读次数:
437
在主窗体中任意位置加上下面的代码即可protected override CreateParams CreateParams{ get { CreateParams cp = base.CreateParams; cp.ExStyle |= 0x02000000; ...