Пример #1
0
 private void treeControl1_AfterSelect(Crownwood.DotNetMagic.Controls.TreeControl tc, Crownwood.DotNetMagic.Controls.NodeEventArgs e)
 {
     // Update the properties control with the newly selected control
     propertyGrid1.SelectedObject = treeControl1.SelectedNode;
     UpdateButtonState();
 }
Пример #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.treeControl1   = new Crownwood.DotNetMagic.Controls.TreeControl();
     this.contextMenu    = new System.Windows.Forms.ContextMenu();
     this.insertNode     = new System.Windows.Forms.MenuItem();
     this.appendNode     = new System.Windows.Forms.MenuItem();
     this.menuSep1       = new System.Windows.Forms.MenuItem();
     this.menuAddChild   = new System.Windows.Forms.MenuItem();
     this.menuSep2       = new System.Windows.Forms.MenuItem();
     this.moveUp         = new System.Windows.Forms.MenuItem();
     this.moveDown       = new System.Windows.Forms.MenuItem();
     this.menuSep3       = new System.Windows.Forms.MenuItem();
     this.removeNode     = new System.Windows.Forms.MenuItem();
     this.menuSep4       = new System.Windows.Forms.MenuItem();
     this.clearAllNodes  = new System.Windows.Forms.MenuItem();
     this.label1         = new System.Windows.Forms.Label();
     this.buttonOK       = new System.Windows.Forms.Button();
     this.propertyGrid1  = new System.Windows.Forms.PropertyGrid();
     this.label2         = new System.Windows.Forms.Label();
     this.buttonCancel   = new System.Windows.Forms.Button();
     this.buttonInsert   = new System.Windows.Forms.Button();
     this.buttonAppend   = new System.Windows.Forms.Button();
     this.buttonAddChild = new System.Windows.Forms.Button();
     this.buttonRemove   = new System.Windows.Forms.Button();
     this.buttonClearAll = new System.Windows.Forms.Button();
     this.buttonMoveDown = new System.Windows.Forms.Button();
     this.buttonMoveUp   = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // treeControl1
     //
     this.treeControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                       | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.treeControl1.BorderColor              = System.Drawing.SystemColors.ControlDark;
     this.treeControl1.BorderStyle              = Crownwood.DotNetMagic.Controls.TreeBorderStyle.Solid;
     this.treeControl1.BoxDrawStyle             = Crownwood.DotNetMagic.Controls.DrawStyle.Plain;
     this.treeControl1.CheckDrawStyle           = Crownwood.DotNetMagic.Controls.DrawStyle.Plain;
     this.treeControl1.ContextMenuNode          = this.contextMenu;
     this.treeControl1.ContextMenuSpace         = this.contextMenu;
     this.treeControl1.FocusNode                = null;
     this.treeControl1.GroupFont                = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World);
     this.treeControl1.HotBackColor             = System.Drawing.Color.Empty;
     this.treeControl1.HotForeColor             = System.Drawing.Color.Empty;
     this.treeControl1.Location                 = new System.Drawing.Point(104, 32);
     this.treeControl1.Name                     = "treeControl1";
     this.treeControl1.SelectedNode             = null;
     this.treeControl1.SelectedNoFocusBackColor = System.Drawing.SystemColors.Control;
     this.treeControl1.SelectMode               = Crownwood.DotNetMagic.Controls.SelectMode.Single;
     this.treeControl1.Size                     = new System.Drawing.Size(224, 376);
     this.treeControl1.TabIndex                 = 0;
     this.treeControl1.Text                     = "treeControl1";
     this.treeControl1.AfterSelect             += new Crownwood.DotNetMagic.Controls.NodeEventHandler(this.treeControl1_AfterSelect);
     //
     // contextMenu
     //
     this.contextMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.insertNode,
         this.appendNode,
         this.menuSep1,
         this.menuAddChild,
         this.menuSep2,
         this.moveUp,
         this.moveDown,
         this.menuSep3,
         this.removeNode,
         this.menuSep4,
         this.clearAllNodes
     });
     this.contextMenu.Popup += new System.EventHandler(this.contextMenu_Popup);
     //
     // insertNode
     //
     this.insertNode.Index  = 0;
     this.insertNode.Text   = "Insert";
     this.insertNode.Click += new System.EventHandler(this.insertNode_Click);
     //
     // appendNode
     //
     this.appendNode.Index  = 1;
     this.appendNode.Text   = "Append";
     this.appendNode.Click += new System.EventHandler(this.appendNode_Click);
     //
     // menuSep1
     //
     this.menuSep1.Index = 2;
     this.menuSep1.Text  = "-";
     //
     // menuAddChild
     //
     this.menuAddChild.Index  = 3;
     this.menuAddChild.Text   = "Add Child";
     this.menuAddChild.Click += new System.EventHandler(this.menuAddChild_Click);
     //
     // menuSep2
     //
     this.menuSep2.Index = 4;
     this.menuSep2.Text  = "-";
     //
     // moveUp
     //
     this.moveUp.Index  = 5;
     this.moveUp.Text   = "Move Up";
     this.moveUp.Click += new System.EventHandler(this.moveUp_Click);
     //
     // moveDown
     //
     this.moveDown.Index  = 6;
     this.moveDown.Text   = "Move Down";
     this.moveDown.Click += new System.EventHandler(this.moveDown_Click);
     //
     // menuSep3
     //
     this.menuSep3.Index = 7;
     this.menuSep3.Text  = "-";
     //
     // removeNode
     //
     this.removeNode.Index  = 8;
     this.removeNode.Text   = "Remove";
     this.removeNode.Click += new System.EventHandler(this.removeNode_Click);
     //
     // menuSep4
     //
     this.menuSep4.Index = 9;
     this.menuSep4.Text  = "-";
     //
     // clearAllNodes
     //
     this.clearAllNodes.Index  = 10;
     this.clearAllNodes.Text   = "Clear All";
     this.clearAllNodes.Click += new System.EventHandler(this.clearAllNodes_Click);
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(104, 8);
     this.label1.Name      = "label1";
     this.label1.TabIndex  = 1;
     this.label1.Text      = "Node Collection";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // buttonOK
     //
     this.buttonOK.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonOK.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.buttonOK.Location  = new System.Drawing.Point(416, 424);
     this.buttonOK.Name      = "buttonOK";
     this.buttonOK.TabIndex  = 3;
     this.buttonOK.Text      = "OK";
     this.buttonOK.Click    += new System.EventHandler(this.buttonOK_Click);
     //
     // propertyGrid1
     //
     this.propertyGrid1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.propertyGrid1.CommandsVisibleIfAvailable = true;
     this.propertyGrid1.HelpVisible    = false;
     this.propertyGrid1.LargeButtons   = false;
     this.propertyGrid1.LineColor      = System.Drawing.SystemColors.ControlDark;
     this.propertyGrid1.Location       = new System.Drawing.Point(344, 32);
     this.propertyGrid1.Name           = "propertyGrid1";
     this.propertyGrid1.PropertySort   = System.Windows.Forms.PropertySort.Alphabetical;
     this.propertyGrid1.Size           = new System.Drawing.Size(232, 376);
     this.propertyGrid1.TabIndex       = 1;
     this.propertyGrid1.Text           = "propertyGrid1";
     this.propertyGrid1.ToolbarVisible = false;
     this.propertyGrid1.ViewBackColor  = System.Drawing.SystemColors.Window;
     this.propertyGrid1.ViewForeColor  = System.Drawing.SystemColors.WindowText;
     //
     // label2
     //
     this.label2.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.label2.Location  = new System.Drawing.Point(344, 8);
     this.label2.Name      = "label2";
     this.label2.TabIndex  = 5;
     this.label2.Text      = "Node Properties";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // buttonCancel
     //
     this.buttonCancel.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonCancel.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.buttonCancel.Location  = new System.Drawing.Point(501, 424);
     this.buttonCancel.Name      = "buttonCancel";
     this.buttonCancel.TabIndex  = 2;
     this.buttonCancel.Text      = "Cancel";
     this.buttonCancel.Click    += new System.EventHandler(this.buttonCancel_Click);
     //
     // buttonInsert
     //
     this.buttonInsert.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.buttonInsert.Location  = new System.Drawing.Point(16, 32);
     this.buttonInsert.Name      = "buttonInsert";
     this.buttonInsert.TabIndex  = 6;
     this.buttonInsert.Text      = "Insert";
     this.buttonInsert.Click    += new System.EventHandler(this.buttonInsert_Click);
     //
     // buttonAppend
     //
     this.buttonAppend.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.buttonAppend.Location  = new System.Drawing.Point(16, 64);
     this.buttonAppend.Name      = "buttonAppend";
     this.buttonAppend.TabIndex  = 7;
     this.buttonAppend.Text      = "Append";
     this.buttonAppend.Click    += new System.EventHandler(this.buttonAppend_Click);
     //
     // buttonAddChild
     //
     this.buttonAddChild.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.buttonAddChild.Location  = new System.Drawing.Point(16, 96);
     this.buttonAddChild.Name      = "buttonAddChild";
     this.buttonAddChild.TabIndex  = 8;
     this.buttonAddChild.Text      = "Add Child";
     this.buttonAddChild.Click    += new System.EventHandler(this.buttonAddChild_Click);
     //
     // buttonRemove
     //
     this.buttonRemove.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.buttonRemove.Location  = new System.Drawing.Point(16, 224);
     this.buttonRemove.Name      = "buttonRemove";
     this.buttonRemove.TabIndex  = 9;
     this.buttonRemove.Text      = "Remove";
     this.buttonRemove.Click    += new System.EventHandler(this.buttonRemove_Click);
     //
     // buttonClearAll
     //
     this.buttonClearAll.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.buttonClearAll.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.buttonClearAll.Location  = new System.Drawing.Point(16, 384);
     this.buttonClearAll.Name      = "buttonClearAll";
     this.buttonClearAll.TabIndex  = 10;
     this.buttonClearAll.Text      = "Clear All";
     this.buttonClearAll.Click    += new System.EventHandler(this.buttonClearAll_Click);
     //
     // buttonMoveDown
     //
     this.buttonMoveDown.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.buttonMoveDown.Location  = new System.Drawing.Point(16, 176);
     this.buttonMoveDown.Name      = "buttonMoveDown";
     this.buttonMoveDown.Size      = new System.Drawing.Size(72, 23);
     this.buttonMoveDown.TabIndex  = 14;
     this.buttonMoveDown.Text      = "Move Down";
     this.buttonMoveDown.Click    += new System.EventHandler(this.buttonMoveDown_Click);
     //
     // buttonMoveUp
     //
     this.buttonMoveUp.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.buttonMoveUp.Location  = new System.Drawing.Point(16, 144);
     this.buttonMoveUp.Name      = "buttonMoveUp";
     this.buttonMoveUp.Size      = new System.Drawing.Size(72, 23);
     this.buttonMoveUp.TabIndex  = 13;
     this.buttonMoveUp.Text      = "Move Up";
     this.buttonMoveUp.Click    += new System.EventHandler(this.buttonMoveUp_Click);
     //
     // NodeCollectionDialog
     //
     this.ClientSize = new System.Drawing.Size(592, 462);
     this.ControlBox = false;
     this.Controls.Add(this.buttonMoveDown);
     this.Controls.Add(this.buttonMoveUp);
     this.Controls.Add(this.buttonClearAll);
     this.Controls.Add(this.buttonRemove);
     this.Controls.Add(this.buttonAddChild);
     this.Controls.Add(this.buttonAppend);
     this.Controls.Add(this.buttonInsert);
     this.Controls.Add(this.buttonCancel);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.propertyGrid1);
     this.Controls.Add(this.buttonOK);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.treeControl1);
     this.Font          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.MaximizeBox   = false;
     this.MinimizeBox   = false;
     this.MinimumSize   = new System.Drawing.Size(480, 384);
     this.Name          = "NodeCollectionDialog";
     this.ShowInTaskbar = false;
     this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Node Collection Editor";
     this.ResumeLayout(false);
 }
Пример #3
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.treeControl1       = new Crownwood.DotNetMagic.Controls.TreeControl();
     this.contextMenu        = new System.Windows.Forms.ContextMenu();
     this.menuAddButton      = new System.Windows.Forms.MenuItem();
     this.menuAddSeparator   = new System.Windows.Forms.MenuItem();
     this.menuSep1           = new System.Windows.Forms.MenuItem();
     this.menuMoveUp         = new System.Windows.Forms.MenuItem();
     this.menuMoveDown       = new System.Windows.Forms.MenuItem();
     this.menuSep2           = new System.Windows.Forms.MenuItem();
     this.menuRemove         = new System.Windows.Forms.MenuItem();
     this.menuSep3           = new System.Windows.Forms.MenuItem();
     this.menuClearAll       = new System.Windows.Forms.MenuItem();
     this.labelCollection    = new System.Windows.Forms.Label();
     this.buttonOK           = new System.Windows.Forms.Button();
     this.buttonCancel       = new System.Windows.Forms.Button();
     this.buttonAddButton    = new System.Windows.Forms.Button();
     this.buttonAddSeparator = new System.Windows.Forms.Button();
     this.buttonRemove       = new System.Windows.Forms.Button();
     this.buttonClearAll     = new System.Windows.Forms.Button();
     this.buttonMoveUp       = new System.Windows.Forms.Button();
     this.buttonMoveDown     = new System.Windows.Forms.Button();
     this.propertyGrid       = new System.Windows.Forms.PropertyGrid();
     this.labelProperties    = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // treeControl1
     //
     this.treeControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                       | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.treeControl1.BorderColor              = System.Drawing.SystemColors.ControlDark;
     this.treeControl1.BorderStyle              = Crownwood.DotNetMagic.Controls.TreeBorderStyle.Solid;
     this.treeControl1.BoxDrawStyle             = Crownwood.DotNetMagic.Controls.DrawStyle.Plain;
     this.treeControl1.CheckDrawStyle           = Crownwood.DotNetMagic.Controls.DrawStyle.Plain;
     this.treeControl1.ContextMenuNode          = this.contextMenu;
     this.treeControl1.ContextMenuSpace         = this.contextMenu;
     this.treeControl1.GroupFont                = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World);
     this.treeControl1.HotBackColor             = System.Drawing.Color.Empty;
     this.treeControl1.HotForeColor             = System.Drawing.Color.Empty;
     this.treeControl1.Location                 = new System.Drawing.Point(120, 32);
     this.treeControl1.Name                     = "treeControl1";
     this.treeControl1.SelectedNode             = null;
     this.treeControl1.SelectedNoFocusBackColor = System.Drawing.SystemColors.Control;
     this.treeControl1.SelectMode               = Crownwood.DotNetMagic.Controls.SelectMode.Single;
     this.treeControl1.Size                     = new System.Drawing.Size(200, 344);
     this.treeControl1.TabIndex                 = 0;
     this.treeControl1.Text                     = "treeControl1";
     this.treeControl1.AfterSelect             += new Crownwood.DotNetMagic.Controls.NodeEventHandler(this.treeControl1_AfterSelect);
     //
     // contextMenu
     //
     this.contextMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuAddButton,
         this.menuAddSeparator,
         this.menuSep1,
         this.menuMoveUp,
         this.menuMoveDown,
         this.menuSep2,
         this.menuRemove,
         this.menuSep3,
         this.menuClearAll
     });
     this.contextMenu.Popup += new System.EventHandler(this.contextMenu_Popup);
     //
     // menuAddButton
     //
     this.menuAddButton.Index  = 0;
     this.menuAddButton.Text   = "Add Button";
     this.menuAddButton.Click += new System.EventHandler(this.buttonAddButton_Click);
     //
     // menuAddSeparator
     //
     this.menuAddSeparator.Index  = 1;
     this.menuAddSeparator.Text   = "Add Separator";
     this.menuAddSeparator.Click += new System.EventHandler(this.buttonAddSeparator_Click);
     //
     // menuSep1
     //
     this.menuSep1.Index = 2;
     this.menuSep1.Text  = "-";
     //
     // menuMoveUp
     //
     this.menuMoveUp.Index  = 3;
     this.menuMoveUp.Text   = "Move Up";
     this.menuMoveUp.Click += new System.EventHandler(this.buttonMoveUp_Click);
     //
     // menuMoveDown
     //
     this.menuMoveDown.Index  = 4;
     this.menuMoveDown.Text   = "Move Down";
     this.menuMoveDown.Click += new System.EventHandler(this.buttonMoveDown_Click);
     //
     // menuSep2
     //
     this.menuSep2.Index = 5;
     this.menuSep2.Text  = "-";
     //
     // menuRemove
     //
     this.menuRemove.Index  = 6;
     this.menuRemove.Text   = "Remove";
     this.menuRemove.Click += new System.EventHandler(this.buttonRemove_Click);
     //
     // menuSep3
     //
     this.menuSep3.Index = 7;
     this.menuSep3.Text  = "-";
     //
     // menuClearAll
     //
     this.menuClearAll.Index  = 8;
     this.menuClearAll.Text   = "Clear All";
     this.menuClearAll.Click += new System.EventHandler(this.buttonClearAll_Click);
     //
     // labelCollection
     //
     this.labelCollection.Location  = new System.Drawing.Point(120, 8);
     this.labelCollection.Name      = "labelCollection";
     this.labelCollection.Size      = new System.Drawing.Size(112, 23);
     this.labelCollection.TabIndex  = 1;
     this.labelCollection.Text      = "Command Collection";
     this.labelCollection.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // buttonOK
     //
     this.buttonOK.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonOK.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.buttonOK.Location  = new System.Drawing.Point(480, 388);
     this.buttonOK.Name      = "buttonOK";
     this.buttonOK.TabIndex  = 3;
     this.buttonOK.Text      = "OK";
     this.buttonOK.Click    += new System.EventHandler(this.buttonOK_Click);
     //
     // buttonCancel
     //
     this.buttonCancel.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonCancel.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.buttonCancel.Location  = new System.Drawing.Point(392, 388);
     this.buttonCancel.Name      = "buttonCancel";
     this.buttonCancel.TabIndex  = 2;
     this.buttonCancel.Text      = "Cancel";
     this.buttonCancel.Click    += new System.EventHandler(this.buttonCancel_Click);
     //
     // buttonAddButton
     //
     this.buttonAddButton.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.buttonAddButton.Location  = new System.Drawing.Point(16, 32);
     this.buttonAddButton.Name      = "buttonAddButton";
     this.buttonAddButton.Size      = new System.Drawing.Size(88, 23);
     this.buttonAddButton.TabIndex  = 6;
     this.buttonAddButton.Text      = "Add Button";
     this.buttonAddButton.Click    += new System.EventHandler(this.buttonAddButton_Click);
     //
     // buttonAddSeparator
     //
     this.buttonAddSeparator.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.buttonAddSeparator.Location  = new System.Drawing.Point(16, 64);
     this.buttonAddSeparator.Name      = "buttonAddSeparator";
     this.buttonAddSeparator.Size      = new System.Drawing.Size(88, 23);
     this.buttonAddSeparator.TabIndex  = 7;
     this.buttonAddSeparator.Text      = "Add Separator";
     this.buttonAddSeparator.Click    += new System.EventHandler(this.buttonAddSeparator_Click);
     //
     // buttonRemove
     //
     this.buttonRemove.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.buttonRemove.Location  = new System.Drawing.Point(16, 176);
     this.buttonRemove.Name      = "buttonRemove";
     this.buttonRemove.Size      = new System.Drawing.Size(88, 23);
     this.buttonRemove.TabIndex  = 9;
     this.buttonRemove.Text      = "Remove";
     this.buttonRemove.Click    += new System.EventHandler(this.buttonRemove_Click);
     //
     // buttonClearAll
     //
     this.buttonClearAll.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.buttonClearAll.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.buttonClearAll.Location  = new System.Drawing.Point(16, 352);
     this.buttonClearAll.Name      = "buttonClearAll";
     this.buttonClearAll.Size      = new System.Drawing.Size(88, 23);
     this.buttonClearAll.TabIndex  = 10;
     this.buttonClearAll.Text      = "Clear All";
     this.buttonClearAll.Click    += new System.EventHandler(this.buttonClearAll_Click);
     //
     // buttonMoveUp
     //
     this.buttonMoveUp.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.buttonMoveUp.Location  = new System.Drawing.Point(16, 104);
     this.buttonMoveUp.Name      = "buttonMoveUp";
     this.buttonMoveUp.Size      = new System.Drawing.Size(88, 23);
     this.buttonMoveUp.TabIndex  = 11;
     this.buttonMoveUp.Text      = "Move Up";
     this.buttonMoveUp.Click    += new System.EventHandler(this.buttonMoveUp_Click);
     //
     // buttonMoveDown
     //
     this.buttonMoveDown.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.buttonMoveDown.Location  = new System.Drawing.Point(16, 136);
     this.buttonMoveDown.Name      = "buttonMoveDown";
     this.buttonMoveDown.Size      = new System.Drawing.Size(88, 23);
     this.buttonMoveDown.TabIndex  = 12;
     this.buttonMoveDown.Text      = "Move Down";
     this.buttonMoveDown.Click    += new System.EventHandler(this.buttonMoveDown_Click);
     //
     // propertyGrid
     //
     this.propertyGrid.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.propertyGrid.CommandsVisibleIfAvailable = true;
     this.propertyGrid.HelpVisible    = false;
     this.propertyGrid.LargeButtons   = false;
     this.propertyGrid.LineColor      = System.Drawing.SystemColors.ScrollBar;
     this.propertyGrid.Location       = new System.Drawing.Point(336, 32);
     this.propertyGrid.Name           = "propertyGrid";
     this.propertyGrid.PropertySort   = System.Windows.Forms.PropertySort.Alphabetical;
     this.propertyGrid.Size           = new System.Drawing.Size(219, 344);
     this.propertyGrid.TabIndex       = 13;
     this.propertyGrid.Text           = "propertyGrid";
     this.propertyGrid.ToolbarVisible = false;
     this.propertyGrid.ViewBackColor  = System.Drawing.SystemColors.Window;
     this.propertyGrid.ViewForeColor  = System.Drawing.SystemColors.WindowText;
     //
     // labelProperties
     //
     this.labelProperties.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelProperties.Location  = new System.Drawing.Point(336, 8);
     this.labelProperties.Name      = "labelProperties";
     this.labelProperties.Size      = new System.Drawing.Size(112, 23);
     this.labelProperties.TabIndex  = 14;
     this.labelProperties.Text      = "Command Properties";
     this.labelProperties.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // CommandCollectionDialog
     //
     this.ClientSize = new System.Drawing.Size(568, 430);
     this.ControlBox = false;
     this.Controls.Add(this.labelProperties);
     this.Controls.Add(this.propertyGrid);
     this.Controls.Add(this.buttonMoveDown);
     this.Controls.Add(this.buttonMoveUp);
     this.Controls.Add(this.buttonClearAll);
     this.Controls.Add(this.buttonRemove);
     this.Controls.Add(this.buttonAddSeparator);
     this.Controls.Add(this.buttonAddButton);
     this.Controls.Add(this.buttonCancel);
     this.Controls.Add(this.buttonOK);
     this.Controls.Add(this.labelCollection);
     this.Controls.Add(this.treeControl1);
     this.Font          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.MaximizeBox   = false;
     this.MinimizeBox   = false;
     this.MinimumSize   = new System.Drawing.Size(480, 328);
     this.Name          = "CommandCollectionDialog";
     this.ShowInTaskbar = false;
     this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Command Collection Editor";
     this.ResumeLayout(false);
 }