上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 29 下一页
摘要: PHP所提供的"重载"(overloading)是指动态地"创建"类属性和方法。我们是通过魔术方法(magic methods)来实现的。 当调用当前环境下未定义或不可见的类属性或方法时,重载方法会被调用。本节后面将使用"不可访问属性(inaccessible properties)"和"不可访问方 阅读全文
posted @ 2016-06-13 21:19 尘梦 阅读(561) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Th... 阅读全文
posted @ 2016-06-13 11:10 尘梦 阅读(270) 评论(0) 推荐(0)
摘要: public Form1() { InitializeComponent(); } Thread t; private void button1_Click(object sender, EventArgs e) { int num = int.Parse(this.t... 阅读全文
posted @ 2016-06-13 10:20 尘梦 阅读(165) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Th... 阅读全文
posted @ 2016-06-12 11:06 尘梦 阅读(152) 评论(0) 推荐(0)
摘要: //Process[] pro= Process.GetProcesses(); //foreach (var item in pro) //{ // Console.WriteLine(item); // item.Kill(); //} ... 阅读全文
posted @ 2016-06-12 09:39 尘梦 阅读(103) 评论(0) 推荐(0)
摘要: ($y/$maxy)) { $bili=$y/$maxy; }else{ $bili=$x/$maxx; } $x=floor($maxx*$bili); $y=floor($maxy*$bili); $small=imagecreatetruecolor($x, $y); imagecopyresampled($small,$big,0,0,0,0,$x,$y,$maxx,$maxy); ... 阅读全文
posted @ 2016-05-31 12:21 尘梦 阅读(294) 评论(0) 推荐(0)
摘要: fileName=$fileName; $this->maxSize=$maxSize; $this->allowMime=$allowMime; $this->allowExt=$allowExt; $this->uploadPath=$uploadPath; $this->imgFlag=$imgFlag; ... 阅读全文
posted @ 2016-05-26 21:39 尘梦 阅读(152) 评论(0) 推荐(0)
摘要: 导航 Session购物车练习 商品信息管理-购物车练习 添加商品 浏览商品 我的购物车 清空购物车 Examples 名称 类型 ... 阅读全文
posted @ 2016-05-25 16:15 尘梦 阅读(194) 评论(0) 推荐(0)
摘要: 优点:减轻服务器的负担,按需取数据,最大程度的减少冗余请求局部刷新页面,减少用户心理和实际的等待时间,带来更好的用户体验基于xml标准化,并被广泛支持,不需安装插件等进一步促进页面和数据的分离缺点:AJAX大量的使用了javascript和ajax引擎,这些取决于浏览器的支持.在编写的时候考虑对浏览 阅读全文
posted @ 2016-05-24 20:46 尘梦 阅读(2614) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication2 { public delegate void del(); class Program { static void Main... 阅读全文
posted @ 2016-05-24 11:20 尘梦 阅读(537) 评论(0) 推荐(0)
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 29 下一页