| 1: | using System; | |
| 2: | using BarcodeNETWorkShop; | |
| 3: | using BarcodeNETWorkShop.Core; | |
| 4: | namespace WebFeaturesDemoCS | |
| 5: | { | |
| 6: | /// <summary> | |
| 7: | /// Summary description for ImageHandler. | |
| 8: | /// </summary> | |
| 9: | public class ImageHandler:System.Web.IHttpHandler | |
| 10: | { | |
| 11: | private BarcodeNETImage BarcodeNETImage1=new BarcodeNETImage (); | |
| 12: | public ImageHandler() | |
| 13: | { | |
| 14: | // | |
| 15: | // TODO: Add constructor logic here | |
| 16: | // | |
| 17: | } | |
| 18: | #region IHttpHandler Members | |
| 19: | ||
| 20: | public void ProcessRequest(System.Web.HttpContext context) | |
| 21: | { | |
| 22: | // TODO: Add ImageHandler.ProcessRequest implementation | |
| 23: | BarcodeNETImage1.DrawBarcodeByQueryString(context); | |
| 24: | } | |
| 25: | ||
| 26: | public bool IsReusable | |
| 27: | { | |
| 28: | get | |
| 29: | { | |
| 30: | // TODO: Add ImageHandler.IsReusable getter implementation | |
| 31: | return true; | |
| 32: | } | |
| 33: | } | |
| 34: | ||
| 35: | #endregion | |
| 36: | } | |
| 37: | } |
This page was automatically generated by SharpDevelop.