- Implemented a UITypeEditor for scripts to test developing custom UI Editors for PropertyGrids. It allows for scripts to be edited directly within the PropertyGrid now by launching the new ScriptEditor form. This is how most of the editors custom objects will be implemented into the PropertyGrids. - The Script property is now browsable within PropertyGrids now that they have a custom editor built. Mud Designer: - ScriptEditor added. - Removed Script editor from within the Realm Explorer and I will do the same for the Zone Explorer and Room Builder. - All objects can now have a script attached to them from within any editor thanks to the new UITypeEditor approach being used.
59 lines
No EOL
2 KiB
C#
59 lines
No EOL
2 KiB
C#
namespace MudDesigner.Editors
|
|
{
|
|
partial class ScriptEditor
|
|
{
|
|
/// <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 Windows Form 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.richTextBox1 = new System.Windows.Forms.RichTextBox();
|
|
this.SuspendLayout();
|
|
//
|
|
// richTextBox1
|
|
//
|
|
this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.richTextBox1.Location = new System.Drawing.Point(0, 0);
|
|
this.richTextBox1.Name = "richTextBox1";
|
|
this.richTextBox1.Size = new System.Drawing.Size(575, 548);
|
|
this.richTextBox1.TabIndex = 0;
|
|
this.richTextBox1.Text = "";
|
|
//
|
|
// frmScriptEditor
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(575, 548);
|
|
this.Controls.Add(this.richTextBox1);
|
|
this.Name = "frmScriptEditor";
|
|
this.Text = "frmScriptEditor";
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.RichTextBox richTextBox1;
|
|
}
|
|
} |