文件名称:csharpPicturecontrol
- 所属分类:
- Windows编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 23kb
- 下载次数:
- 0次
- 提 供 者:
- 6*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
客户请求一张网页,如index.aspx,网页中含有缩略图控件,
2、 Index.aspx编译执行为HTML后被发送到客户端浏览器。这个控件生成了一个img标记,src属性指向一张该网页本身,但是后面附带的参数改变了。浏览器解析了,知道要向src属性获得一张图片。它开始向这个位置请求(也就是重新以新的附带参数请求这个网页)。
3、 ASP.Net获得了这个请求,index.aspx这个页面又开始执行,因为index.aspx中包含这个缩略图控件,控件就有机会识别这段特殊的参数,并且重新改写响应流,它会在文件系统中获得原始图像,然后根据你的要求,使用GDI.NET将原图重新按照新尺寸绘制,得到的新图是一个流对象,我们不存储它,而是将它直接附着在响应流中,发送给客户端。-Customer requests a page, such as the index.aspx, the page contains thumbnail control,
2、 Index.aspx编译执行为HTML后被发送到客户端浏览器。这个控件生成了一个img标记,src属性指向一张该网页本身,但是后面附带的参数改变了。浏览器解析了,知道要向src属性获得一张图片。它开始向这个位置请求(也就是重新以新的附带参数请求这个网页)。
3、 ASP.Net获得了这个请求,index.aspx这个页面又开始执行,因为index.aspx中包含这个缩略图控件,控件就有机会识别这段特殊的参数,并且重新改写响应流,它会在文件系统中获得原始图像,然后根据你的要求,使用GDI.NET将原图重新按照新尺寸绘制,得到的新图是一个流对象,我们不存储它,而是将它直接附着在响应流中,发送给客户端。-Customer requests a page, such as the index.aspx, the page contains thumbnail control,
(系统自动生成,下载前可以参看下载内容)
下载文件列表
WindowsFormsApplication2
........................\WindowsFormsApplication2
........................\........................\bin
........................\........................\...\Debug
........................\........................\...\.....\WindowsFormsApplication2.vshost.exe
........................\........................\...\.....\WindowsFormsApplication2.vshost.exe.manifest
........................\........................\BlogLan.Web.cs
........................\........................\BlogLan.Web.Designer.cs
........................\........................\Form1.cs
........................\........................\Form1.Designer.cs
........................\........................\obj
........................\........................\...\Debug
........................\........................\...\.....\TempPE
........................\........................\...\.....\WindowsFormsApplication2.csproj.FileListAbsolute.txt
........................\........................\...\.....\WindowsFormsApplication2.csproj.GenerateResource.Cache
........................\........................\...\.....\WindowsFormsApplication2.Properties.Resources.resources
........................\........................\Program.cs
........................\........................\Properties
........................\........................\..........\AssemblyInfo.cs
........................\........................\..........\Resources.Designer.cs
........................\........................\..........\Resources.resx
........................\........................\..........\Settings.Designer.cs
........................\........................\..........\Settings.settings
........................\........................\WindowsFormsApplication2.csproj
........................\WindowsFormsApplication2.sln
........................\WindowsFormsApplication2
........................\........................\bin
........................\........................\...\Debug
........................\........................\...\.....\WindowsFormsApplication2.vshost.exe
........................\........................\...\.....\WindowsFormsApplication2.vshost.exe.manifest
........................\........................\BlogLan.Web.cs
........................\........................\BlogLan.Web.Designer.cs
........................\........................\Form1.cs
........................\........................\Form1.Designer.cs
........................\........................\obj
........................\........................\...\Debug
........................\........................\...\.....\TempPE
........................\........................\...\.....\WindowsFormsApplication2.csproj.FileListAbsolute.txt
........................\........................\...\.....\WindowsFormsApplication2.csproj.GenerateResource.Cache
........................\........................\...\.....\WindowsFormsApplication2.Properties.Resources.resources
........................\........................\Program.cs
........................\........................\Properties
........................\........................\..........\AssemblyInfo.cs
........................\........................\..........\Resources.Designer.cs
........................\........................\..........\Resources.resx
........................\........................\..........\Settings.Designer.cs
........................\........................\..........\Settings.settings
........................\........................\WindowsFormsApplication2.csproj
........................\WindowsFormsApplication2.sln