Download CustomTreeViewLabelEditPart2.zip, last updated 28/10/2013 (14.07 KB)

Download
  • md5: 84276c0e1d02b4750fc1ecd76d71bedd
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.imageList = new System.Windows.Forms.ImageList(this.components);
      this.subclassedTreeView = new CustomTreeViewLabelEdit.TreeViewEx();
      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.menuStrip.SuspendLayout();
      this.SuspendLayout();
      // 
      // 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");
      // 
      // 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, 24);
      this.subclassedTreeView.Name = "subclassedTreeView";
      this.subclassedTreeView.SelectedImageIndex = 0;
      this.subclassedTreeView.Size = new System.Drawing.Size(626, 291);
      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);
      this.subclassedTreeView.ValidateLabelEdit += new System.EventHandler<System.Windows.Forms.NodeLabelEditEventArgs>(this.subclassedTreeView_ValidateLabelEdit);
      // 
      // 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(626, 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(626, 22);
      this.statusStrip.TabIndex = 2;
      // 
      // MainForm
      // 
      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
      this.ClientSize = new System.Drawing.Size(626, 337);
      this.Controls.Add(this.subclassedTreeView);
      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 TreeView LabelEdit Validation Demonstration ";
      this.menuStrip.ResumeLayout(false);
      this.menuStrip.PerformLayout();
      this.ResumeLayout(false);
      this.PerformLayout();

    }

    #endregion

    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 TreeViewEx subclassedTreeView;
    private System.Windows.Forms.ImageList imageList;
    private System.Windows.Forms.ToolStripMenuItem editToolStripMenuItem;
    private System.Windows.Forms.ToolStripMenuItem renameToolStripMenuItem;
  }
}

Donate

Donate