ControlPortal.cs
Upload User: weimol11
Upload Date: 2013-05-19
Package Size: 1052k
Code Size: 3k
Category:

WinSock-NDIS

Development Platform:

C#

  1. #region Copyright and License
  2. /*
  3. Copyright 2003 Jason Alexander, nGallery.org
  4. Design work copyright Thomas Johansen (http://www.aylarsolutions.com/)
  5. GOTDOTNET WORKSPACES COMMERCIAL DERIVATIVES LICENSE
  6. Copyright (C) 2003 Microsoft Corporation
  7. You can use this Software for any commercial or noncommercial purpose, 
  8. including distributing derivative works.
  9. In return, we simply require that you agree:
  10. 1. Not to remove any copyright notices from the Software. 
  11. 2. That if you distribute the Software in source code form you do so only 
  12.    under this License (i.e. you must include a complete copy of this License 
  13.    with your distribution), and if you distribute the Software solely in 
  14.    object form you only do so under a license that complies with this License. 
  15. 3. That the Software comes "as is", with no warranties. None whatsoever. This 
  16.    means no express, implied or statutory warranty, including without 
  17.    limitation, warranties of merchantability or fitness for a particular 
  18.    purpose or any warranty of noninfringement. Also, you must pass this 
  19.    disclaimer on whenever you distribute the Software.
  20. 4. That neither Microsoft nor any contributor to the Software will be liable 
  21.    for any of those types of damages known as indirect, special, consequential, 
  22.    or incidental related to the Software or this License, to the maximum extent 
  23.    the law permits, no matter what legal theory it抯 based on. Also, you must 
  24.    pass this limitation of liability on whenever you distribute the Software.
  25. 5. That if you sue anyone over patents that you think may apply to the 
  26.    Software for a person's use of the Software, your license to the Software 
  27.    ends automatically. 
  28. 6. That the patent rights, if any, licensed hereunder only apply to the 
  29.    Software, not to any derivative works you make. 
  30. 7. That your rights under this License end automatically if you breach it in 
  31.    any way.
  32. */
  33. #endregion
  34. using System;
  35. namespace nGallery.Lib
  36. {
  37. /// <summary>
  38. /// This control is used to display the nGallery portal. As of the 1.6 release this is currently unimplemented.
  39. /// Look for this to change in an upcoming version.
  40. /// </summary>
  41. public class ControlPortal : System.Web.UI.WebControls.WebControl
  42. {
  43. #region Constructor(s)
  44. /// <summary>
  45. /// This is the base constructor.
  46. /// </summary>
  47. public ControlPortal()
  48. {
  49. }
  50. #endregion
  51. #region Various Render Methods
  52. /// <summary>
  53. /// Processes and generates the HTML for the beginning tag.
  54. /// </summary>
  55. /// <param name="writer">The HtmlTextWriter that is being written to.</param>
  56. public override void RenderBeginTag(System.Web.UI.HtmlTextWriter writer)
  57. {
  58. base.RenderBeginTag (writer);
  59. }
  60. /// <summary>
  61. /// Processes and generates the HTML for the main "body" of the control.
  62. /// </summary>
  63. /// <param name="writer">The HtmlTextWriter that is being written to.</param>
  64. protected override void Render(System.Web.UI.HtmlTextWriter writer)
  65. {
  66. Template template = new Template(Definitions.Templates.T_PICTURE_ITEM, this.Page);
  67. }
  68. /// <summary>
  69. /// Processes and generates the HTML for the beginning tag.
  70. /// </summary>
  71. /// <param name="writer">The HtmlTextWriter that is being written to.</param>
  72. public override void RenderEndTag(System.Web.UI.HtmlTextWriter writer)
  73. {
  74. base.RenderEndTag (writer);
  75. }
  76. #endregion
  77. }
  78. }