English(beta)
hfyb的Blog 页面正在加载中 .....

11 2006 档案

类中的静态成员与非静态成员的区别
摘要:Class myclass(){ int a=10; static int b=20;}Class test(){ myclass A=new myclass(); A.a=10; //正确 A.b=20; //不能通过对象访问类中的静态成员 myclass.a=10; //不能通过类访问非静态成员 ... 阅读全文

posted @ 2006-11-28 14:02 hfyb 阅读(1020) 评论(0) 推荐(0)

实现接口的继承
摘要:1 interface IControl 2 { 3 void paint(); //显式说明的接口成员不能被声明为虚拟的 4 } 5 Class Control:IControl 6 { 7 void IControl.paint 8 { 9 paintControl(); ... 阅读全文

posted @ 2006-11-28 13:30 hfyb 阅读(221) 评论(0) 推荐(0)

显式接口的实现与执行体
摘要:这是一个显式接口的实现,首先我们先来看代码: 1 interface IFoo 2 { 3 void Executr(); 4 } 5 interface IBar 6 { 7 void Executer(); 8 } 9 class Tester:IFoo,IBar10 {11 void IFoo.executer()12 {13 conso... 阅读全文

posted @ 2006-11-28 13:06 hfyb 阅读(418) 评论(0) 推荐(0)

xml文件调用css
摘要:这些小东西是我在网上看到的就把它记下来了,可能以后会有用的: 禹希初 男 1977.5 数据库设计与维护、WEB开发 resume.css文件 resume{ display: block;} name{ display:... 阅读全文

posted @ 2006-11-27 23:22 hfyb 阅读(1608) 评论(1) 推荐(0)

Windows中的弹出窗体
摘要:Windows中的弹出窗体有很多,最简单的Msgbox就不说了,其他还有“保存”、“打开”等等,今天就一一说一下: 首先在窗体中添加toolStrip控件,打开控件编译器,插入标准项,双击打开文件按钮,在打开OToolStripButton_Click事件中添加代码如下: private void 打开OToolStripMenuItem_C... 阅读全文

posted @ 2006-11-27 23:15 hfyb 阅读(858) 评论(2) 推荐(0)

实现控件的拖放
摘要:最近,在学习Windows界面的开发,顺便总结了一点小东西,就把它记到我的blog里了。 呵呵,看起来很简单,不过可能会很有用。 首先在窗体中添加两个文本框 textbox1 和textbox2, 分别在属性框中双击其各自对应的事件,在代码页面中添加如下代码: //在form_load 中添加 private void te... 阅读全文

posted @ 2006-11-27 22:52 hfyb 阅读(525) 评论(1) 推荐(0)

站长工具
摘要:站长工具集合:http://tool.cndw.com/http://tool.chinaz.com/ http://www.123cha.com/网站连接速度测试http://nc.linkwan.net/gb/broadmeter/speed/responsespeedtest.htm 服务器用户及过期域名查询方法(简) http://www.whois.sc/ 可以查域名所在服务器及注册信息... 阅读全文

posted @ 2006-11-27 22:32 hfyb 阅读(606) 评论(0) 推荐(0)

导航