Visual Designer:

* Added Custom UI Look without using the VisualContainer control
 * Included ManagedScriptingWIN.dll, missing from previous commits.
This commit is contained in:
Scionwest_cp 2009-11-15 12:11:54 -08:00
parent 2e0d9d0953
commit fa720f42bf
6 changed files with 229 additions and 219 deletions

View file

@ -28,82 +28,26 @@
/// </summary>
private void InitializeComponent()
{
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.panelTitleBar = new System.Windows.Forms.Panel();
this.btnClose = new System.Windows.Forms.Button();
this.lblTitle = new System.Windows.Forms.Label();
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
this.panelTitleBar.SuspendLayout();
this.btnTitle = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// splitContainer1
// btnTitle
//
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
this.splitContainer1.Location = new System.Drawing.Point(0, 0);
this.splitContainer1.Name = "splitContainer1";
this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer1.Panel1
//
this.splitContainer1.Panel1.Controls.Add(this.panelTitleBar);
//
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.Controls.Add(this.flowLayoutPanel1);
this.splitContainer1.Size = new System.Drawing.Size(229, 228);
this.splitContainer1.SplitterDistance = 25;
this.splitContainer1.TabIndex = 0;
//
// panelTitleBar
//
this.panelTitleBar.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.panelTitleBar.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panelTitleBar.Controls.Add(this.btnClose);
this.panelTitleBar.Controls.Add(this.lblTitle);
this.panelTitleBar.Dock = System.Windows.Forms.DockStyle.Fill;
this.panelTitleBar.Location = new System.Drawing.Point(0, 0);
this.panelTitleBar.Name = "panelTitleBar";
this.panelTitleBar.Size = new System.Drawing.Size(229, 25);
this.panelTitleBar.TabIndex = 1;
//
// btnClose
//
this.btnClose.Dock = System.Windows.Forms.DockStyle.Right;
this.btnClose.FlatAppearance.BorderSize = 0;
this.btnClose.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Gray;
this.btnClose.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Silver;
this.btnClose.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnClose.Location = new System.Drawing.Point(208, 0);
this.btnClose.Name = "btnClose";
this.btnClose.Size = new System.Drawing.Size(19, 23);
this.btnClose.TabIndex = 1;
this.btnClose.Text = "X";
this.btnClose.UseVisualStyleBackColor = true;
//
// lblTitle
//
this.lblTitle.AutoSize = true;
this.lblTitle.Dock = System.Windows.Forms.DockStyle.Left;
this.lblTitle.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.lblTitle.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblTitle.ForeColor = System.Drawing.Color.LightSkyBlue;
this.lblTitle.Location = new System.Drawing.Point(0, 0);
this.lblTitle.Name = "lblTitle";
this.lblTitle.Padding = new System.Windows.Forms.Padding(0, 2, 0, 0);
this.lblTitle.Size = new System.Drawing.Size(0, 18);
this.lblTitle.TabIndex = 0;
//
// flowLayoutPanel1
//
this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.flowLayoutPanel1.Location = new System.Drawing.Point(0, 0);
this.flowLayoutPanel1.Name = "flowLayoutPanel1";
this.flowLayoutPanel1.Size = new System.Drawing.Size(229, 199);
this.flowLayoutPanel1.TabIndex = 5;
this.btnTitle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.btnTitle.Dock = System.Windows.Forms.DockStyle.Top;
this.btnTitle.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.btnTitle.FlatAppearance.BorderSize = 2;
this.btnTitle.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.btnTitle.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.btnTitle.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnTitle.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnTitle.Location = new System.Drawing.Point(0, 0);
this.btnTitle.Name = "btnTitle";
this.btnTitle.Size = new System.Drawing.Size(229, 27);
this.btnTitle.TabIndex = 0;
this.btnTitle.Text = "Title";
this.btnTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnTitle.UseVisualStyleBackColor = false;
//
// VisualContainer
//
@ -111,26 +55,17 @@
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.Gray;
this.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.Controls.Add(this.splitContainer1);
this.Controls.Add(this.btnTitle);
this.Name = "VisualContainer";
this.Size = new System.Drawing.Size(229, 228);
this.Load += new System.EventHandler(this.Container_Load);
this.splitContainer1.Panel1.ResumeLayout(false);
this.splitContainer1.Panel2.ResumeLayout(false);
this.splitContainer1.ResumeLayout(false);
this.panelTitleBar.ResumeLayout(false);
this.panelTitleBar.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.SplitContainer splitContainer1;
private System.Windows.Forms.Panel panelTitleBar;
private System.Windows.Forms.Button btnClose;
private System.Windows.Forms.Label lblTitle;
public System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
private System.Windows.Forms.Button btnTitle;
}
}