Archive Browser
Download CustomTreeViewLabelEdit.zip, last updated 28/10/2013 (16.32 KB)
Download- md5: 80ba715b3ff9cc64851d7914f54af397
namespace CustomTreeViewLabelEdit
{
partial class MainForm
{
/// <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();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
this.splitContainer = new System.Windows.Forms.SplitContainer();
this.normalTreeView = new System.Windows.Forms.TreeView();
this.imageList = new System.Windows.Forms.ImageList(this.components);
this.normalTreeViewLabel = new System.Windows.Forms.Label();
this.subclassedTreeView = new CustomTreeViewLabelEdit.TreeViewEx();
this.subclassedTreeViewLabel = new System.Windows.Forms.Label();
this.menuStrip = new System.Windows.Forms.MenuStrip();
this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.closeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.renameToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.statusStrip = new System.Windows.Forms.StatusStrip();
this.notifyTreeViewLabel = new System.Windows.Forms.Label();
this.notifyTreeView = new CustomTreeViewLabelEdit.TreeViewExNotify();
this.rootSplitContainer = new System.Windows.Forms.SplitContainer();
this.splitContainer.Panel1.SuspendLayout();
this.splitContainer.Panel2.SuspendLayout();
this.splitContainer.SuspendLayout();
this.menuStrip.SuspendLayout();
this.rootSplitContainer.Panel1.SuspendLayout();
this.rootSplitContainer.Panel2.SuspendLayout();
this.rootSplitContainer.SuspendLayout();
this.SuspendLayout();
//
// splitContainer
//
this.splitContainer.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer.Location = new System.Drawing.Point(0, 0);
this.splitContainer.Name = "splitContainer";
//
// splitContainer.Panel1
//
this.splitContainer.Panel1.Controls.Add(this.normalTreeView);
this.splitContainer.Panel1.Controls.Add(this.normalTreeViewLabel);
//
// splitContainer.Panel2
//
this.splitContainer.Panel2.Controls.Add(this.subclassedTreeView);
this.splitContainer.Panel2.Controls.Add(this.subclassedTreeViewLabel);
this.splitContainer.Size = new System.Drawing.Size(598, 291);
this.splitContainer.SplitterDistance = 291;
this.splitContainer.TabIndex = 0;
//
// normalTreeView
//
this.normalTreeView.Dock = System.Windows.Forms.DockStyle.Fill;
this.normalTreeView.ImageIndex = 0;
this.normalTreeView.ImageList = this.imageList;
this.normalTreeView.ItemHeight = 19;
this.normalTreeView.LabelEdit = true;
this.normalTreeView.Location = new System.Drawing.Point(0, 0);
this.normalTreeView.Name = "normalTreeView";
this.normalTreeView.SelectedImageIndex = 0;
this.normalTreeView.Size = new System.Drawing.Size(291, 267);
this.normalTreeView.TabIndex = 0;
this.normalTreeView.BeforeLabelEdit += new System.Windows.Forms.NodeLabelEditEventHandler(this.normalTreeView_BeforeLabelEdit);
this.normalTreeView.KeyDown += new System.Windows.Forms.KeyEventHandler(this.normalTreeView_KeyDown);
//
// imageList
//
this.imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream")));
this.imageList.TransparentColor = System.Drawing.Color.Transparent;
this.imageList.Images.SetKeyName(0, "balloon-box.png");
this.imageList.Images.SetKeyName(1, "edit-language.png");
this.imageList.Images.SetKeyName(2, "property.png");
this.imageList.Images.SetKeyName(3, "ruler--pencil.png");
this.imageList.Images.SetKeyName(4, "shield.png");
//
// normalTreeViewLabel
//
this.normalTreeViewLabel.AutoEllipsis = true;
this.normalTreeViewLabel.BackColor = System.Drawing.SystemColors.ActiveCaption;
this.normalTreeViewLabel.Dock = System.Windows.Forms.DockStyle.Bottom;
this.normalTreeViewLabel.ForeColor = System.Drawing.SystemColors.HighlightText;
this.normalTreeViewLabel.Location = new System.Drawing.Point(0, 267);
this.normalTreeViewLabel.Name = "normalTreeViewLabel";
this.normalTreeViewLabel.Size = new System.Drawing.Size(291, 24);
this.normalTreeViewLabel.TabIndex = 8;
this.normalTreeViewLabel.Text = "Base TreeView";
this.normalTreeViewLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// subclassedTreeView
//
this.subclassedTreeView.Dock = System.Windows.Forms.DockStyle.Fill;
this.subclassedTreeView.ImageIndex = 0;
this.subclassedTreeView.ImageList = this.imageList;
this.subclassedTreeView.ItemHeight = 19;
this.subclassedTreeView.LabelEdit = true;
this.subclassedTreeView.Location = new System.Drawing.Point(0, 0);
this.subclassedTreeView.Name = "subclassedTreeView";
this.subclassedTreeView.SelectedImageIndex = 0;
this.subclassedTreeView.Size = new System.Drawing.Size(303, 267);
this.subclassedTreeView.TabIndex = 1;
this.subclassedTreeView.RequestDisplayText += new System.EventHandler<CustomTreeViewLabelEdit.NodeRequestTextEventArgs>(this.subclassedTreeView_RequestDisplayText);
this.subclassedTreeView.RequestEditText += new System.EventHandler<CustomTreeViewLabelEdit.NodeRequestTextEventArgs>(this.subclassedTreeView_RequestEditText);
//
// subclassedTreeViewLabel
//
this.subclassedTreeViewLabel.AutoEllipsis = true;
this.subclassedTreeViewLabel.BackColor = System.Drawing.SystemColors.ActiveCaption;
this.subclassedTreeViewLabel.Dock = System.Windows.Forms.DockStyle.Bottom;
this.subclassedTreeViewLabel.ForeColor = System.Drawing.SystemColors.HighlightText;
this.subclassedTreeViewLabel.Location = new System.Drawing.Point(0, 267);
this.subclassedTreeViewLabel.Name = "subclassedTreeViewLabel";
this.subclassedTreeViewLabel.Size = new System.Drawing.Size(303, 24);
this.subclassedTreeViewLabel.TabIndex = 9;
this.subclassedTreeViewLabel.Text = "TreeView using TVM_GETEDITCONTROL";
this.subclassedTreeViewLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// menuStrip
//
this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.fileToolStripMenuItem,
this.editToolStripMenuItem});
this.menuStrip.Location = new System.Drawing.Point(0, 0);
this.menuStrip.Name = "menuStrip";
this.menuStrip.Size = new System.Drawing.Size(898, 24);
this.menuStrip.TabIndex = 1;
//
// fileToolStripMenuItem
//
this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.closeToolStripMenuItem});
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
this.fileToolStripMenuItem.Text = "&File";
//
// closeToolStripMenuItem
//
this.closeToolStripMenuItem.Name = "closeToolStripMenuItem";
this.closeToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.W)));
this.closeToolStripMenuItem.Size = new System.Drawing.Size(137, 22);
this.closeToolStripMenuItem.Text = "E&xit";
this.closeToolStripMenuItem.Click += new System.EventHandler(this.closeToolStripMenuItem_Click);
//
// editToolStripMenuItem
//
this.editToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.renameToolStripMenuItem});
this.editToolStripMenuItem.Name = "editToolStripMenuItem";
this.editToolStripMenuItem.Size = new System.Drawing.Size(39, 20);
this.editToolStripMenuItem.Text = "&Edit";
//
// renameToolStripMenuItem
//
this.renameToolStripMenuItem.Name = "renameToolStripMenuItem";
this.renameToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F2;
this.renameToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
this.renameToolStripMenuItem.Text = "&Rename";
this.renameToolStripMenuItem.Click += new System.EventHandler(this.renameToolStripMenuItem_Click);
//
// statusStrip
//
this.statusStrip.Location = new System.Drawing.Point(0, 315);
this.statusStrip.Name = "statusStrip";
this.statusStrip.Size = new System.Drawing.Size(898, 22);
this.statusStrip.TabIndex = 2;
//
// notifyTreeViewLabel
//
this.notifyTreeViewLabel.AutoEllipsis = true;
this.notifyTreeViewLabel.BackColor = System.Drawing.SystemColors.ActiveCaption;
this.notifyTreeViewLabel.Dock = System.Windows.Forms.DockStyle.Bottom;
this.notifyTreeViewLabel.ForeColor = System.Drawing.SystemColors.HighlightText;
this.notifyTreeViewLabel.Location = new System.Drawing.Point(0, 267);
this.notifyTreeViewLabel.Name = "notifyTreeViewLabel";
this.notifyTreeViewLabel.Size = new System.Drawing.Size(296, 24);
this.notifyTreeViewLabel.TabIndex = 9;
this.notifyTreeViewLabel.Text = "TreeView using TVN_BEGINLABELEDIT";
this.notifyTreeViewLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// notifyTreeView
//
this.notifyTreeView.Dock = System.Windows.Forms.DockStyle.Fill;
this.notifyTreeView.ImageIndex = 0;
this.notifyTreeView.ImageList = this.imageList;
this.notifyTreeView.ItemHeight = 19;
this.notifyTreeView.LabelEdit = true;
this.notifyTreeView.Location = new System.Drawing.Point(0, 0);
this.notifyTreeView.Name = "notifyTreeView";
this.notifyTreeView.SelectedImageIndex = 0;
this.notifyTreeView.Size = new System.Drawing.Size(296, 267);
this.notifyTreeView.TabIndex = 1;
this.notifyTreeView.RequestEditText += new System.EventHandler<CustomTreeViewLabelEdit.NodeRequestTextEventArgs>(this.notifyTreeView_RequestEditText);
this.notifyTreeView.AfterLabelEdit += new System.Windows.Forms.NodeLabelEditEventHandler(this.notifyTreeView_AfterLabelEdit);
//
// rootSplitContainer
//
this.rootSplitContainer.Dock = System.Windows.Forms.DockStyle.Fill;
this.rootSplitContainer.Location = new System.Drawing.Point(0, 24);
this.rootSplitContainer.Name = "rootSplitContainer";
//
// rootSplitContainer.Panel1
//
this.rootSplitContainer.Panel1.Controls.Add(this.splitContainer);
//
// rootSplitContainer.Panel2
//
this.rootSplitContainer.Panel2.Controls.Add(this.notifyTreeView);
this.rootSplitContainer.Panel2.Controls.Add(this.notifyTreeViewLabel);
this.rootSplitContainer.Size = new System.Drawing.Size(898, 291);
this.rootSplitContainer.SplitterDistance = 598;
this.rootSplitContainer.TabIndex = 3;
//
// MainForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(898, 337);
this.Controls.Add(this.rootSplitContainer);
this.Controls.Add(this.statusStrip);
this.Controls.Add(this.menuStrip);
this.MainMenuStrip = this.menuStrip;
this.MaximizeBox = false;
this.Name = "MainForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "cyotek.com Custom TreeView LabelEdit Demonstration";
this.splitContainer.Panel1.ResumeLayout(false);
this.splitContainer.Panel2.ResumeLayout(false);
this.splitContainer.ResumeLayout(false);
this.menuStrip.ResumeLayout(false);
this.menuStrip.PerformLayout();
this.rootSplitContainer.Panel1.ResumeLayout(false);
this.rootSplitContainer.Panel2.ResumeLayout(false);
this.rootSplitContainer.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.SplitContainer splitContainer;
private System.Windows.Forms.MenuStrip menuStrip;
private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem closeToolStripMenuItem;
private System.Windows.Forms.StatusStrip statusStrip;
private System.Windows.Forms.TreeView normalTreeView;
private TreeViewEx subclassedTreeView;
private System.Windows.Forms.ImageList imageList;
private System.Windows.Forms.Label normalTreeViewLabel;
private System.Windows.Forms.Label subclassedTreeViewLabel;
private System.Windows.Forms.Label notifyTreeViewLabel;
private TreeViewExNotify notifyTreeView;
private System.Windows.Forms.SplitContainer rootSplitContainer;
private System.Windows.Forms.ToolStripMenuItem editToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem renameToolStripMenuItem;
}
}
Donate
This software may be used free of charge, but as with all free software there are costs involved to develop and maintain.
If this site or its services have saved you time, please consider a donation to help with running costs and timely updates.
Donate