示例#1
0
        private void InitializeComponent()
        {
            this.pnlContent = new OPMedia.UI.Themes.ContentPanel();
            this._rmTop = new OPMedia.UI.Themes.ResizeMargin();
            this._rmLT = new OPMedia.UI.Themes.ResizeMargin();
            this._rmRT = new OPMedia.UI.Themes.ResizeMargin();
            this._rmRB = new OPMedia.UI.Themes.ResizeMargin();
            this._rmLeft = new OPMedia.UI.Themes.ResizeMargin();
            this._rmLB = new OPMedia.UI.Themes.ResizeMargin();
            this._rmBottom = new OPMedia.UI.Themes.ResizeMargin();
            this._rmRight = new OPMedia.UI.Themes.ResizeMargin();
            this.SuspendLayout();
            this.pnlContent.Margin = new System.Windows.Forms.Padding(0);
            this.pnlContent.Name = "pnlContent";
            this.pnlContent.TabIndex = 8;
            // 
            // _rmTop
            // 
            this._rmTop.BackColor = System.Drawing.Color.Blue;
            this._rmTop.Dock = System.Windows.Forms.DockStyle.Top;
            this._rmTop.Location = new System.Drawing.Point(0, 0);
            this._rmTop.Margin = new System.Windows.Forms.Padding(0);
            this._rmTop.Name = "_rmTop";
            this._rmTop.Size = new System.Drawing.Size(423, 5);
            this._rmTop.TabIndex = 0;
            this._rmTop.TabStop = false;
            this._rmTop.MouseDown += new System.Windows.Forms.MouseEventHandler(this.OnMouseDown);
            this._rmTop.MouseMove += new System.Windows.Forms.MouseEventHandler(this.OnResizeMouseMove);
            this._rmTop.MouseUp += new System.Windows.Forms.MouseEventHandler(this.OnMouseUp);
            // 
            // _rmLT
            // 
            this._rmLT.BackColor = System.Drawing.Color.Blue;
            this._rmLT.Location = new System.Drawing.Point(0, 0);
            this._rmLT.Margin = new System.Windows.Forms.Padding(0);
            this._rmLT.Name = "_rmLT";
            this._rmLT.Size = new System.Drawing.Size(5, 5);
            this._rmLT.TabIndex = 4;
            this._rmLT.TabStop = false;
            this._rmLT.MouseDown += new System.Windows.Forms.MouseEventHandler(this.OnMouseDown);
            this._rmLT.MouseMove += new System.Windows.Forms.MouseEventHandler(this.OnResizeMouseMove);
            this._rmLT.MouseUp += new System.Windows.Forms.MouseEventHandler(this.OnMouseUp);
            // 
            // _rmRT
            // 
            this._rmRT.BackColor = System.Drawing.Color.Blue;
            this._rmRT.Location = new System.Drawing.Point(271, 0);
            this._rmRT.Margin = new System.Windows.Forms.Padding(0);
            this._rmRT.Name = "_rmRT";
            this._rmRT.Size = new System.Drawing.Size(5, 5);
            this._rmRT.TabIndex = 5;
            this._rmRT.TabStop = false;
            this._rmRT.MouseDown += new System.Windows.Forms.MouseEventHandler(this.OnMouseDown);
            this._rmRT.MouseMove += new System.Windows.Forms.MouseEventHandler(this.OnResizeMouseMove);
            this._rmRT.MouseUp += new System.Windows.Forms.MouseEventHandler(this.OnMouseUp);
            // 
            // _rmRB
            // 
            this._rmRB.BackColor = System.Drawing.Color.Blue;
            this._rmRB.Location = new System.Drawing.Point(271, 235);
            this._rmRB.Margin = new System.Windows.Forms.Padding(0);
            this._rmRB.Name = "_rmRB";
            this._rmRB.Size = new System.Drawing.Size(5, 5);
            this._rmRB.TabIndex = 7;
            this._rmRB.TabStop = false;
            this._rmRB.MouseDown += new System.Windows.Forms.MouseEventHandler(this.OnMouseDown);
            this._rmRB.MouseMove += new System.Windows.Forms.MouseEventHandler(this.OnResizeMouseMove);
            this._rmRB.MouseUp += new System.Windows.Forms.MouseEventHandler(this.OnMouseUp);
            // 
            // _rmLeft
            // 
            this._rmLeft.BackColor = System.Drawing.Color.Blue;
            this._rmLeft.Dock = System.Windows.Forms.DockStyle.Left;
            this._rmLeft.Location = new System.Drawing.Point(0, 5);
            this._rmLeft.Margin = new System.Windows.Forms.Padding(0);
            this._rmLeft.Name = "_rmLeft";
            this._rmLeft.Size = new System.Drawing.Size(5, 387);
            this._rmLeft.TabIndex = 2;
            this._rmLeft.TabStop = false;
            this._rmLeft.MouseDown += new System.Windows.Forms.MouseEventHandler(this.OnMouseDown);
            this._rmLeft.MouseMove += new System.Windows.Forms.MouseEventHandler(this.OnResizeMouseMove);
            this._rmLeft.MouseUp += new System.Windows.Forms.MouseEventHandler(this.OnMouseUp);
            // 
            // _rmLB
            // 
            this._rmLB.BackColor = System.Drawing.Color.Blue;
            this._rmLB.Location = new System.Drawing.Point(10, 235);
            this._rmLB.Margin = new System.Windows.Forms.Padding(0);
            this._rmLB.Name = "_rmLB";
            this._rmLB.Size = new System.Drawing.Size(5, 5);
            this._rmLB.TabIndex = 6;
            this._rmLB.TabStop = false;
            this._rmLB.MouseDown += new System.Windows.Forms.MouseEventHandler(this.OnMouseDown);
            this._rmLB.MouseMove += new System.Windows.Forms.MouseEventHandler(this.OnResizeMouseMove);
            this._rmLB.MouseUp += new System.Windows.Forms.MouseEventHandler(this.OnMouseUp);
            // 
            // _rmBottom
            // 
            this._rmBottom.BackColor = System.Drawing.Color.Blue;
            this._rmBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
            this._rmBottom.Location = new System.Drawing.Point(5, 387);
            this._rmBottom.Margin = new System.Windows.Forms.Padding(0);
            this._rmBottom.Name = "_rmBottom";
            this._rmBottom.Size = new System.Drawing.Size(418, 5);
            this._rmBottom.TabIndex = 1;
            this._rmBottom.TabStop = false;
            this._rmBottom.MouseDown += new System.Windows.Forms.MouseEventHandler(this.OnMouseDown);
            this._rmBottom.MouseMove += new System.Windows.Forms.MouseEventHandler(this.OnResizeMouseMove);
            this._rmBottom.MouseUp += new System.Windows.Forms.MouseEventHandler(this.OnMouseUp);
            // 
            // _rmRight
            // 
            this._rmRight.BackColor = System.Drawing.Color.Blue;
            this._rmRight.Dock = System.Windows.Forms.DockStyle.Right;
            this._rmRight.Location = new System.Drawing.Point(418, 5);
            this._rmRight.Margin = new System.Windows.Forms.Padding(0);
            this._rmRight.Name = "_rmRight";
            this._rmRight.Size = new System.Drawing.Size(5, 382);
            this._rmRight.TabIndex = 3;
            this._rmRight.TabStop = false;
            this._rmRight.MouseDown += new System.Windows.Forms.MouseEventHandler(this.OnMouseDown);
            this._rmRight.MouseMove += new System.Windows.Forms.MouseEventHandler(this.OnResizeMouseMove);
            this._rmRight.MouseUp += new System.Windows.Forms.MouseEventHandler(this.OnMouseUp);
            // 
            // ThemeFormBase
            // 
            this.ClientSize = new System.Drawing.Size(423, 392);
            this.Controls.Add(this._rmRight);
            this.Controls.Add(this._rmBottom);
            this.Controls.Add(this._rmLB);
            this.Controls.Add(this._rmLeft);
            this.Controls.Add(this._rmRB);
            this.Controls.Add(this._rmRT);
            this.Controls.Add(this._rmLT);
            this.Controls.Add(this._rmTop);
            this.Controls.Add(this.pnlContent);
            this.Name = "ThemeFormBase";
            this.ResumeLayout(false);

        }
示例#2
0
 private void InitializeComponent()
 {
     this.pnlContent = new OPMedia.UI.Themes.ContentPanel();
     this._rmTop     = new OPMedia.UI.Themes.ResizeMargin();
     this._rmLT      = new OPMedia.UI.Themes.ResizeMargin();
     this._rmRT      = new OPMedia.UI.Themes.ResizeMargin();
     this._rmRB      = new OPMedia.UI.Themes.ResizeMargin();
     this._rmLeft    = new OPMedia.UI.Themes.ResizeMargin();
     this._rmLB      = new OPMedia.UI.Themes.ResizeMargin();
     this._rmBottom  = new OPMedia.UI.Themes.ResizeMargin();
     this._rmRight   = new OPMedia.UI.Themes.ResizeMargin();
     this.SuspendLayout();
     this.pnlContent.Margin   = new System.Windows.Forms.Padding(0);
     this.pnlContent.Name     = "pnlContent";
     this.pnlContent.TabIndex = 8;
     //
     // _rmTop
     //
     this._rmTop.BackColor  = System.Drawing.Color.Blue;
     this._rmTop.Dock       = System.Windows.Forms.DockStyle.Top;
     this._rmTop.Location   = new System.Drawing.Point(0, 0);
     this._rmTop.Margin     = new System.Windows.Forms.Padding(0);
     this._rmTop.Name       = "_rmTop";
     this._rmTop.Size       = new System.Drawing.Size(423, 5);
     this._rmTop.TabIndex   = 0;
     this._rmTop.TabStop    = false;
     this._rmTop.MouseDown += new System.Windows.Forms.MouseEventHandler(this.OnMouseDown);
     this._rmTop.MouseMove += new System.Windows.Forms.MouseEventHandler(this.OnResizeMouseMove);
     this._rmTop.MouseUp   += new System.Windows.Forms.MouseEventHandler(this.OnMouseUp);
     //
     // _rmLT
     //
     this._rmLT.BackColor  = System.Drawing.Color.Blue;
     this._rmLT.Location   = new System.Drawing.Point(0, 0);
     this._rmLT.Margin     = new System.Windows.Forms.Padding(0);
     this._rmLT.Name       = "_rmLT";
     this._rmLT.Size       = new System.Drawing.Size(5, 5);
     this._rmLT.TabIndex   = 4;
     this._rmLT.TabStop    = false;
     this._rmLT.MouseDown += new System.Windows.Forms.MouseEventHandler(this.OnMouseDown);
     this._rmLT.MouseMove += new System.Windows.Forms.MouseEventHandler(this.OnResizeMouseMove);
     this._rmLT.MouseUp   += new System.Windows.Forms.MouseEventHandler(this.OnMouseUp);
     //
     // _rmRT
     //
     this._rmRT.BackColor  = System.Drawing.Color.Blue;
     this._rmRT.Location   = new System.Drawing.Point(271, 0);
     this._rmRT.Margin     = new System.Windows.Forms.Padding(0);
     this._rmRT.Name       = "_rmRT";
     this._rmRT.Size       = new System.Drawing.Size(5, 5);
     this._rmRT.TabIndex   = 5;
     this._rmRT.TabStop    = false;
     this._rmRT.MouseDown += new System.Windows.Forms.MouseEventHandler(this.OnMouseDown);
     this._rmRT.MouseMove += new System.Windows.Forms.MouseEventHandler(this.OnResizeMouseMove);
     this._rmRT.MouseUp   += new System.Windows.Forms.MouseEventHandler(this.OnMouseUp);
     //
     // _rmRB
     //
     this._rmRB.BackColor  = System.Drawing.Color.Blue;
     this._rmRB.Location   = new System.Drawing.Point(271, 235);
     this._rmRB.Margin     = new System.Windows.Forms.Padding(0);
     this._rmRB.Name       = "_rmRB";
     this._rmRB.Size       = new System.Drawing.Size(5, 5);
     this._rmRB.TabIndex   = 7;
     this._rmRB.TabStop    = false;
     this._rmRB.MouseDown += new System.Windows.Forms.MouseEventHandler(this.OnMouseDown);
     this._rmRB.MouseMove += new System.Windows.Forms.MouseEventHandler(this.OnResizeMouseMove);
     this._rmRB.MouseUp   += new System.Windows.Forms.MouseEventHandler(this.OnMouseUp);
     //
     // _rmLeft
     //
     this._rmLeft.BackColor  = System.Drawing.Color.Blue;
     this._rmLeft.Dock       = System.Windows.Forms.DockStyle.Left;
     this._rmLeft.Location   = new System.Drawing.Point(0, 5);
     this._rmLeft.Margin     = new System.Windows.Forms.Padding(0);
     this._rmLeft.Name       = "_rmLeft";
     this._rmLeft.Size       = new System.Drawing.Size(5, 387);
     this._rmLeft.TabIndex   = 2;
     this._rmLeft.TabStop    = false;
     this._rmLeft.MouseDown += new System.Windows.Forms.MouseEventHandler(this.OnMouseDown);
     this._rmLeft.MouseMove += new System.Windows.Forms.MouseEventHandler(this.OnResizeMouseMove);
     this._rmLeft.MouseUp   += new System.Windows.Forms.MouseEventHandler(this.OnMouseUp);
     //
     // _rmLB
     //
     this._rmLB.BackColor  = System.Drawing.Color.Blue;
     this._rmLB.Location   = new System.Drawing.Point(10, 235);
     this._rmLB.Margin     = new System.Windows.Forms.Padding(0);
     this._rmLB.Name       = "_rmLB";
     this._rmLB.Size       = new System.Drawing.Size(5, 5);
     this._rmLB.TabIndex   = 6;
     this._rmLB.TabStop    = false;
     this._rmLB.MouseDown += new System.Windows.Forms.MouseEventHandler(this.OnMouseDown);
     this._rmLB.MouseMove += new System.Windows.Forms.MouseEventHandler(this.OnResizeMouseMove);
     this._rmLB.MouseUp   += new System.Windows.Forms.MouseEventHandler(this.OnMouseUp);
     //
     // _rmBottom
     //
     this._rmBottom.BackColor  = System.Drawing.Color.Blue;
     this._rmBottom.Dock       = System.Windows.Forms.DockStyle.Bottom;
     this._rmBottom.Location   = new System.Drawing.Point(5, 387);
     this._rmBottom.Margin     = new System.Windows.Forms.Padding(0);
     this._rmBottom.Name       = "_rmBottom";
     this._rmBottom.Size       = new System.Drawing.Size(418, 5);
     this._rmBottom.TabIndex   = 1;
     this._rmBottom.TabStop    = false;
     this._rmBottom.MouseDown += new System.Windows.Forms.MouseEventHandler(this.OnMouseDown);
     this._rmBottom.MouseMove += new System.Windows.Forms.MouseEventHandler(this.OnResizeMouseMove);
     this._rmBottom.MouseUp   += new System.Windows.Forms.MouseEventHandler(this.OnMouseUp);
     //
     // _rmRight
     //
     this._rmRight.BackColor  = System.Drawing.Color.Blue;
     this._rmRight.Dock       = System.Windows.Forms.DockStyle.Right;
     this._rmRight.Location   = new System.Drawing.Point(418, 5);
     this._rmRight.Margin     = new System.Windows.Forms.Padding(0);
     this._rmRight.Name       = "_rmRight";
     this._rmRight.Size       = new System.Drawing.Size(5, 382);
     this._rmRight.TabIndex   = 3;
     this._rmRight.TabStop    = false;
     this._rmRight.MouseDown += new System.Windows.Forms.MouseEventHandler(this.OnMouseDown);
     this._rmRight.MouseMove += new System.Windows.Forms.MouseEventHandler(this.OnResizeMouseMove);
     this._rmRight.MouseUp   += new System.Windows.Forms.MouseEventHandler(this.OnMouseUp);
     //
     // ThemeFormBase
     //
     this.ClientSize = new System.Drawing.Size(423, 392);
     this.Controls.Add(this._rmRight);
     this.Controls.Add(this._rmBottom);
     this.Controls.Add(this._rmLB);
     this.Controls.Add(this._rmLeft);
     this.Controls.Add(this._rmRB);
     this.Controls.Add(this._rmRT);
     this.Controls.Add(this._rmLT);
     this.Controls.Add(this._rmTop);
     this.Controls.Add(this.pnlContent);
     this.Name = "ThemeFormBase";
     this.ResumeLayout(false);
 }