174 lines
10 KiB
C#
174 lines
10 KiB
C#
![]() |
namespace WinNodeEditorDemo
|
|||
|
{
|
|||
|
partial class Form1
|
|||
|
{
|
|||
|
/// <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.components = new System.ComponentModel.Container();
|
|||
|
this.btn_open = new System.Windows.Forms.Button();
|
|||
|
this.btn_save = new System.Windows.Forms.Button();
|
|||
|
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|||
|
this.removeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|||
|
this.lockLocationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|||
|
this.lockConnectionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|||
|
this.stNodePropertyGrid1 = new ST.Library.UI.NodeEditor.STNodePropertyGrid();
|
|||
|
this.stNodeEditor1 = new ST.Library.UI.NodeEditor.STNodeEditor();
|
|||
|
this.stNodeTreeView1 = new ST.Library.UI.NodeEditor.STNodeTreeView();
|
|||
|
this.contextMenuStrip1.SuspendLayout();
|
|||
|
this.SuspendLayout();
|
|||
|
//
|
|||
|
// btn_open
|
|||
|
//
|
|||
|
this.btn_open.Location = new System.Drawing.Point(12, 3);
|
|||
|
this.btn_open.Name = "btn_open";
|
|||
|
this.btn_open.Size = new System.Drawing.Size(75, 23);
|
|||
|
this.btn_open.TabIndex = 3;
|
|||
|
this.btn_open.Text = "&Open";
|
|||
|
this.btn_open.UseVisualStyleBackColor = true;
|
|||
|
this.btn_open.Click += new System.EventHandler(this.btn_open_Click);
|
|||
|
//
|
|||
|
// btn_save
|
|||
|
//
|
|||
|
this.btn_save.Location = new System.Drawing.Point(93, 3);
|
|||
|
this.btn_save.Name = "btn_save";
|
|||
|
this.btn_save.Size = new System.Drawing.Size(75, 23);
|
|||
|
this.btn_save.TabIndex = 4;
|
|||
|
this.btn_save.Text = "&Save";
|
|||
|
this.btn_save.UseVisualStyleBackColor = true;
|
|||
|
this.btn_save.Click += new System.EventHandler(this.btn_save_Click);
|
|||
|
//
|
|||
|
// contextMenuStrip1
|
|||
|
//
|
|||
|
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|||
|
this.removeToolStripMenuItem,
|
|||
|
this.lockLocationToolStripMenuItem,
|
|||
|
this.lockConnectionToolStripMenuItem});
|
|||
|
this.contextMenuStrip1.Name = "contextMenuStrip1";
|
|||
|
this.contextMenuStrip1.Size = new System.Drawing.Size(164, 70);
|
|||
|
//
|
|||
|
// removeToolStripMenuItem
|
|||
|
//
|
|||
|
this.removeToolStripMenuItem.Name = "removeToolStripMenuItem";
|
|||
|
this.removeToolStripMenuItem.Size = new System.Drawing.Size(163, 22);
|
|||
|
this.removeToolStripMenuItem.Text = "&Remove";
|
|||
|
this.removeToolStripMenuItem.Click += new System.EventHandler(this.removeToolStripMenuItem_Click);
|
|||
|
//
|
|||
|
// lockLocationToolStripMenuItem
|
|||
|
//
|
|||
|
this.lockLocationToolStripMenuItem.Name = "lockLocationToolStripMenuItem";
|
|||
|
this.lockLocationToolStripMenuItem.Size = new System.Drawing.Size(163, 22);
|
|||
|
this.lockLocationToolStripMenuItem.Text = "U/Lock &Location";
|
|||
|
this.lockLocationToolStripMenuItem.Click += new System.EventHandler(this.lockLocationToolStripMenuItem_Click);
|
|||
|
//
|
|||
|
// lockConnectionToolStripMenuItem
|
|||
|
//
|
|||
|
this.lockConnectionToolStripMenuItem.Name = "lockConnectionToolStripMenuItem";
|
|||
|
this.lockConnectionToolStripMenuItem.Size = new System.Drawing.Size(163, 22);
|
|||
|
this.lockConnectionToolStripMenuItem.Text = "U/Lock &Connection";
|
|||
|
this.lockConnectionToolStripMenuItem.Click += new System.EventHandler(this.lockConnectionToolStripMenuItem_Click);
|
|||
|
//
|
|||
|
// stNodePropertyGrid1
|
|||
|
//
|
|||
|
this.stNodePropertyGrid1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(35)))), ((int)(((byte)(35)))), ((int)(((byte)(35)))));
|
|||
|
this.stNodePropertyGrid1.DescriptionColor = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(184)))), ((int)(((byte)(134)))), ((int)(((byte)(11)))));
|
|||
|
this.stNodePropertyGrid1.ErrorColor = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(165)))), ((int)(((byte)(42)))), ((int)(((byte)(42)))));
|
|||
|
this.stNodePropertyGrid1.ForeColor = System.Drawing.Color.White;
|
|||
|
this.stNodePropertyGrid1.ItemHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(125)))), ((int)(((byte)(125)))), ((int)(((byte)(125)))));
|
|||
|
this.stNodePropertyGrid1.ItemValueBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
|
|||
|
this.stNodePropertyGrid1.Location = new System.Drawing.Point(12, 273);
|
|||
|
this.stNodePropertyGrid1.MinimumSize = new System.Drawing.Size(120, 50);
|
|||
|
this.stNodePropertyGrid1.Name = "stNodePropertyGrid1";
|
|||
|
this.stNodePropertyGrid1.ShowTitle = true;
|
|||
|
this.stNodePropertyGrid1.Size = new System.Drawing.Size(200, 228);
|
|||
|
this.stNodePropertyGrid1.TabIndex = 2;
|
|||
|
this.stNodePropertyGrid1.Text = "stNodePropertyGrid1";
|
|||
|
this.stNodePropertyGrid1.TitleColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
|||
|
//
|
|||
|
// stNodeEditor1
|
|||
|
//
|
|||
|
this.stNodeEditor1.AllowDrop = true;
|
|||
|
this.stNodeEditor1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(34)))), ((int)(((byte)(34)))), ((int)(((byte)(34)))));
|
|||
|
this.stNodeEditor1.Curvature = 0.3F;
|
|||
|
this.stNodeEditor1.Location = new System.Drawing.Point(218, 32);
|
|||
|
this.stNodeEditor1.LocationBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
|||
|
this.stNodeEditor1.MarkBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
|||
|
this.stNodeEditor1.MarkForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
|||
|
this.stNodeEditor1.MinimumSize = new System.Drawing.Size(100, 100);
|
|||
|
this.stNodeEditor1.Name = "stNodeEditor1";
|
|||
|
this.stNodeEditor1.Size = new System.Drawing.Size(432, 469);
|
|||
|
this.stNodeEditor1.TabIndex = 1;
|
|||
|
this.stNodeEditor1.Text = "stNodeEditor1";
|
|||
|
//
|
|||
|
// stNodeTreeView1
|
|||
|
//
|
|||
|
this.stNodeTreeView1.AllowDrop = true;
|
|||
|
this.stNodeTreeView1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(35)))), ((int)(((byte)(35)))), ((int)(((byte)(35)))));
|
|||
|
this.stNodeTreeView1.FolderCountColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
|||
|
this.stNodeTreeView1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
|
|||
|
this.stNodeTreeView1.ItemBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(45)))));
|
|||
|
this.stNodeTreeView1.ItemHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(125)))), ((int)(((byte)(125)))), ((int)(((byte)(125)))));
|
|||
|
this.stNodeTreeView1.Location = new System.Drawing.Point(12, 32);
|
|||
|
this.stNodeTreeView1.MinimumSize = new System.Drawing.Size(100, 60);
|
|||
|
this.stNodeTreeView1.Name = "stNodeTreeView1";
|
|||
|
this.stNodeTreeView1.ShowFolderCount = true;
|
|||
|
this.stNodeTreeView1.Size = new System.Drawing.Size(200, 235);
|
|||
|
this.stNodeTreeView1.TabIndex = 0;
|
|||
|
this.stNodeTreeView1.Text = "stNodeTreeView1";
|
|||
|
this.stNodeTreeView1.TextBoxColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
|
|||
|
this.stNodeTreeView1.TitleColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60)))));
|
|||
|
//
|
|||
|
// Form1
|
|||
|
//
|
|||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|||
|
this.ClientSize = new System.Drawing.Size(662, 513);
|
|||
|
this.Controls.Add(this.btn_save);
|
|||
|
this.Controls.Add(this.btn_open);
|
|||
|
this.Controls.Add(this.stNodePropertyGrid1);
|
|||
|
this.Controls.Add(this.stNodeEditor1);
|
|||
|
this.Controls.Add(this.stNodeTreeView1);
|
|||
|
this.Name = "Form1";
|
|||
|
this.Text = "Form1";
|
|||
|
this.Load += new System.EventHandler(this.Form1_Load);
|
|||
|
this.contextMenuStrip1.ResumeLayout(false);
|
|||
|
this.ResumeLayout(false);
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private ST.Library.UI.NodeEditor.STNodeTreeView stNodeTreeView1;
|
|||
|
private ST.Library.UI.NodeEditor.STNodeEditor stNodeEditor1;
|
|||
|
private ST.Library.UI.NodeEditor.STNodePropertyGrid stNodePropertyGrid1;
|
|||
|
private System.Windows.Forms.Button btn_open;
|
|||
|
private System.Windows.Forms.Button btn_save;
|
|||
|
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
|
|||
|
private System.Windows.Forms.ToolStripMenuItem removeToolStripMenuItem;
|
|||
|
private System.Windows.Forms.ToolStripMenuItem lockLocationToolStripMenuItem;
|
|||
|
private System.Windows.Forms.ToolStripMenuItem lockConnectionToolStripMenuItem;
|
|||
|
|
|||
|
}
|
|||
|
}
|
|||
|
|