- Added Controls namespace to the engine - Copied VisualContainer and RoomControl from Visual Designer to MUDEngine.Controls namespace - Added Control property to BaseObject, all objects now can have a custom UserControl that the Visual Designer will create during runtime when the object is dragged to the designer.
72 lines
3.2 KiB
C#
72 lines
3.2 KiB
C#
namespace MUDEngine.Controls
|
|
{
|
|
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.btnTitle = new System.Windows.Forms.Button();
|
|
this.SuspendLayout();
|
|
//
|
|
// btnTitle
|
|
//
|
|
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.ForeColor = System.Drawing.Color.Silver;
|
|
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
|
|
//
|
|
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.btnTitle);
|
|
this.Name = "VisualContainer";
|
|
this.Size = new System.Drawing.Size(229, 228);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Button btnTitle;
|
|
|
|
|
|
}
|
|
}
|