Visual Designer:

* Objects can now be dragged from the object list onto the designer & a new tab will be created for each object.
This commit is contained in:
Scionwest_cp 2009-11-14 08:59:18 -08:00
parent 12f5776d21
commit 8fde0bcc43
4 changed files with 211 additions and 173 deletions

View file

@ -28,23 +28,47 @@
/// </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.SuspendLayout();
//
// splitContainer1
//
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.Top;
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 = 0;
this.panelTitleBar.TabIndex = 1;
//
// btnClose
//
@ -59,7 +83,6 @@
this.btnClose.TabIndex = 1;
this.btnClose.Text = "X";
this.btnClose.UseVisualStyleBackColor = true;
this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
//
// lblTitle
//
@ -74,16 +97,27 @@
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;
//
// VisualContainer
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.Gray;
this.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.Controls.Add(this.panelTitleBar);
this.Controls.Add(this.splitContainer1);
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);
@ -92,8 +126,11 @@
#endregion
private System.Windows.Forms.SplitContainer splitContainer1;
private System.Windows.Forms.Panel panelTitleBar;
private System.Windows.Forms.Label lblTitle;
private System.Windows.Forms.Button btnClose;
private System.Windows.Forms.Label lblTitle;
public System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
}
}