PageRenderTime 29ms CodeModel.GetById 19ms app.highlight 5ms RepoModel.GetById 2ms app.codeStats 0ms

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