/projects/PigeonCms.Core/Modules/PigeonCms.VideoPlayer/VideoPlayerControl.cs

http://pigeoncms.googlecode.com/ · C# · 53 lines · 45 code · 8 blank · 0 comment · 0 complexity · de511f9ff7a364c5c97cb4292dcef1cc MD5 · raw file

  1. using System;
  2. using System.Data;
  3. using System.Configuration;
  4. using System.Web;
  5. using System.Web.Security;
  6. using System.Web.UI;
  7. using System.Web.UI.WebControls;
  8. using System.Web.UI.WebControls.WebParts;
  9. using System.Web.UI.HtmlControls;
  10. using System.Diagnostics;
  11. using System.ComponentModel;
  12. using System.IO;
  13. using System.Collections.Generic;
  14. using System.Threading;
  15. using System.Text;
  16. using PigeonCms;
  17. using System.Web.Routing;
  18. namespace PigeonCms
  19. {
  20. public class VideoPlayerControl: PigeonCms.BaseModuleControl
  21. {
  22. #region private fields
  23. private string file = "";
  24. private string width = "320";
  25. private string height = "240";
  26. #endregion
  27. #region public fields
  28. public string File
  29. {
  30. get { return GetStringParam("File", file); }
  31. set { file = value; }
  32. }
  33. public string Width
  34. {
  35. get { return GetStringParam("Width", width); }
  36. set { width = value; }
  37. }
  38. public string Height
  39. {
  40. get { return GetStringParam("Height", height); }
  41. set { height = value; }
  42. }
  43. #endregion
  44. }
  45. }