VisualComponents:

* Added custom container controller

VisualDesigner:
 * New editor designed similar to Visual Studio.
 * Loads MUDEngine.dll and places all classes inheriting from GameObject into the designers Object list.
This commit is contained in:
Scionwest_cp 2009-11-13 19:53:32 -08:00
parent 4cfd6177bb
commit 12f5776d21
16 changed files with 1288 additions and 0 deletions

View file

@ -0,0 +1,99 @@
namespace VisualComponents
{
partial class VisualContainer
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Component Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.panelTitleBar = new System.Windows.Forms.Panel();
this.btnClose = new System.Windows.Forms.Button();
this.lblTitle = new System.Windows.Forms.Label();
this.panelTitleBar.SuspendLayout();
this.SuspendLayout();
//
// 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.Location = new System.Drawing.Point(0, 0);
this.panelTitleBar.Name = "panelTitleBar";
this.panelTitleBar.Size = new System.Drawing.Size(229, 25);
this.panelTitleBar.TabIndex = 0;
//
// 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;
this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
//
// 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;
//
// 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.Name = "VisualContainer";
this.Size = new System.Drawing.Size(229, 228);
this.Load += new System.EventHandler(this.Container_Load);
this.panelTitleBar.ResumeLayout(false);
this.panelTitleBar.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Panel panelTitleBar;
private System.Windows.Forms.Label lblTitle;
private System.Windows.Forms.Button btnClose;
}
}