Exemplo n.º 1
0
 /// <summary>
 ///   Required method for Designer support - do not modify the contents of this method with the
 ///   code editor.
 /// </summary>
 private void InitializeComponent()
 {
     components = new System.ComponentModel.Container();
     System.Windows.Forms.Label             label1;
     System.Windows.Forms.Label             label2;
     System.Windows.Forms.Label             label3;
     System.Windows.Forms.ContextMenuStrip  contextMenuStrip;
     System.Windows.Forms.ToolStripMenuItem expandAllToolStripMenuItem;
     System.Windows.Forms.ToolStripMenuItem closeAllToolStripMenuItem;
     System.Windows.Forms.Label             label4;
     m_TableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     m_ComboBoxID        = new System.Windows.Forms.ComboBox();
     m_ComboBoxParentID  = new System.Windows.Forms.ComboBox();
     m_TreeView          = new CsvTools.MultiselectTreeView();
     m_TextBoxValue      = new System.Windows.Forms.TextBox();
     m_ComboBoxDisplay2  = new System.Windows.Forms.ComboBox();
     m_ComboBoxDisplay1  = new System.Windows.Forms.ComboBox();
     label1                     = new System.Windows.Forms.Label();
     label2                     = new System.Windows.Forms.Label();
     label3                     = new System.Windows.Forms.Label();
     contextMenuStrip           = new System.Windows.Forms.ContextMenuStrip(components);
     expandAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     closeAllToolStripMenuItem  = new System.Windows.Forms.ToolStripMenuItem();
     label4                     = new System.Windows.Forms.Label();
     contextMenuStrip.SuspendLayout();
     m_TableLayoutPanel1.SuspendLayout();
     SuspendLayout();
     //
     // label1
     //
     label1.Anchor   = System.Windows.Forms.AnchorStyles.Right;
     label1.AutoSize = true;
     label1.Location = new System.Drawing.Point(49, 5);
     label1.Name     = "label1";
     label1.Size     = new System.Drawing.Size(18, 13);
     label1.TabIndex = 3;
     label1.Text     = "ID";
     //
     // label2
     //
     label2.Anchor   = System.Windows.Forms.AnchorStyles.Right;
     label2.AutoSize = true;
     label2.Location = new System.Drawing.Point(26, 29);
     label2.Name     = "label2";
     label2.Size     = new System.Drawing.Size(41, 13);
     label2.TabIndex = 5;
     label2.Text     = "Display";
     //
     // label3
     //
     label3.Anchor   = System.Windows.Forms.AnchorStyles.Right;
     label3.AutoSize = true;
     label3.Location = new System.Drawing.Point(15, 53);
     label3.Name     = "label3";
     label3.Size     = new System.Drawing.Size(52, 13);
     label3.TabIndex = 7;
     label3.Text     = "Parent ID";
     //
     // contextMenuStrip
     //
     contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         expandAllToolStripMenuItem,
         closeAllToolStripMenuItem
     });
     contextMenuStrip.Name = "contextMenuStrip";
     contextMenuStrip.Size = new System.Drawing.Size(125, 48);
     //
     // expandAllToolStripMenuItem
     //
     expandAllToolStripMenuItem.Name   = "expandAllToolStripMenuItem";
     expandAllToolStripMenuItem.Size   = new System.Drawing.Size(124, 22);
     expandAllToolStripMenuItem.Text   = "Expand All";
     expandAllToolStripMenuItem.Click += new System.EventHandler(expandAllToolStripMenuItem_Click);
     //
     // closeAllToolStripMenuItem
     //
     closeAllToolStripMenuItem.Name   = "closeAllToolStripMenuItem";
     closeAllToolStripMenuItem.Size   = new System.Drawing.Size(124, 22);
     closeAllToolStripMenuItem.Text   = "Close All";
     closeAllToolStripMenuItem.Click += new System.EventHandler(closeAllToolStripMenuItem_Click);
     //
     // label4
     //
     label4.Anchor   = System.Windows.Forms.AnchorStyles.Right;
     label4.AutoSize = true;
     label4.Location = new System.Drawing.Point(40, 77);
     label4.Name     = "label4";
     label4.Size     = new System.Drawing.Size(27, 13);
     label4.TabIndex = 5;
     label4.Text     = "Find";
     //
     // m_TableLayoutPanel1
     //
     m_TableLayoutPanel1.ColumnCount = 3;
     m_TableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 70F));
     m_TableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
     m_TableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
     m_TableLayoutPanel1.Controls.Add(label1, 0, 0);
     m_TableLayoutPanel1.Controls.Add(label2, 0, 1);
     m_TableLayoutPanel1.Controls.Add(label3, 0, 2);
     m_TableLayoutPanel1.Controls.Add(m_ComboBoxID, 1, 0);
     m_TableLayoutPanel1.Controls.Add(m_ComboBoxParentID, 1, 2);
     m_TableLayoutPanel1.Controls.Add(m_TreeView, 0, 4);
     m_TableLayoutPanel1.Controls.Add(m_TextBoxValue, 1, 3);
     m_TableLayoutPanel1.Controls.Add(label4, 0, 3);
     m_TableLayoutPanel1.Controls.Add(m_ComboBoxDisplay2, 2, 1);
     m_TableLayoutPanel1.Controls.Add(m_ComboBoxDisplay1, 1, 1);
     m_TableLayoutPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     m_TableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
     m_TableLayoutPanel1.Name     = "m_TableLayoutPanel1";
     m_TableLayoutPanel1.RowCount = 5;
     m_TableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 24F));
     m_TableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 24F));
     m_TableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 24F));
     m_TableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 24F));
     m_TableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
     m_TableLayoutPanel1.Size     = new System.Drawing.Size(458, 443);
     m_TableLayoutPanel1.TabIndex = 10;
     //
     // m_ComboBoxID
     //
     m_TableLayoutPanel1.SetColumnSpan(m_ComboBoxID, 2);
     m_ComboBoxID.Dock                  = System.Windows.Forms.DockStyle.Top;
     m_ComboBoxID.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     m_ComboBoxID.FormattingEnabled     = true;
     m_ComboBoxID.Location              = new System.Drawing.Point(73, 3);
     m_ComboBoxID.Name                  = "m_ComboBoxID";
     m_ComboBoxID.Size                  = new System.Drawing.Size(382, 21);
     m_ComboBoxID.TabIndex              = 0;
     m_ComboBoxID.SelectedIndexChanged += new System.EventHandler(comboBox_SelectionChangeCommitted);
     //
     // m_ComboBoxParentID
     //
     m_TableLayoutPanel1.SetColumnSpan(m_ComboBoxParentID, 2);
     m_ComboBoxParentID.Dock                  = System.Windows.Forms.DockStyle.Top;
     m_ComboBoxParentID.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     m_ComboBoxParentID.FormattingEnabled     = true;
     m_ComboBoxParentID.Location              = new System.Drawing.Point(73, 51);
     m_ComboBoxParentID.Name                  = "m_ComboBoxParentID";
     m_ComboBoxParentID.Size                  = new System.Drawing.Size(382, 21);
     m_ComboBoxParentID.TabIndex              = 1;
     m_ComboBoxParentID.SelectedIndexChanged += new System.EventHandler(comboBox_SelectionChangeCommitted);
     //
     // m_TreeView
     //
     m_TableLayoutPanel1.SetColumnSpan(m_TreeView, 3);
     m_TreeView.ContextMenuStrip = contextMenuStrip;
     m_TreeView.Dock             = System.Windows.Forms.DockStyle.Fill;
     m_TreeView.Location         = new System.Drawing.Point(3, 99);
     m_TreeView.Name             = "m_TreeView";
     m_TreeView.Size             = new System.Drawing.Size(452, 341);
     m_TreeView.TabIndex         = 9;
     //
     // m_TextBoxValue
     //
     m_TextBoxValue.Dock         = System.Windows.Forms.DockStyle.Top;
     m_TextBoxValue.Location     = new System.Drawing.Point(73, 75);
     m_TextBoxValue.Name         = "m_TextBoxValue";
     m_TextBoxValue.Size         = new System.Drawing.Size(188, 20);
     m_TextBoxValue.TabIndex     = 2;
     m_TextBoxValue.TextChanged += new System.EventHandler(textBox1_TextChanged);
     //
     // m_ComboBoxDisplay2
     //
     m_ComboBoxDisplay2.Dock = System.Windows.Forms.DockStyle.Top;
     m_ComboBoxDisplay2.FormattingEnabled = true;
     m_ComboBoxDisplay2.Location          = new System.Drawing.Point(267, 27);
     m_ComboBoxDisplay2.Name     = "m_ComboBoxDisplay2";
     m_ComboBoxDisplay2.Size     = new System.Drawing.Size(188, 21);
     m_ComboBoxDisplay2.TabIndex = 15;
     //
     // m_ComboBoxDisplay1
     //
     m_ComboBoxDisplay1.Dock = System.Windows.Forms.DockStyle.Top;
     m_ComboBoxDisplay1.FormattingEnabled = true;
     m_ComboBoxDisplay1.Location          = new System.Drawing.Point(73, 27);
     m_ComboBoxDisplay1.Name     = "m_ComboBoxDisplay1";
     m_ComboBoxDisplay1.Size     = new System.Drawing.Size(188, 21);
     m_ComboBoxDisplay1.TabIndex = 16;
     //
     // FormHierachyDisplay
     //
     AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     ClientSize          = new System.Drawing.Size(458, 443);
     Controls.Add(m_TableLayoutPanel1);
     FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
     MinimumSize     = new System.Drawing.Size(384, 245);
     Name            = "FormHierachyDisplay";
     Text            = "Hierarchy";
     FormClosed     += new System.Windows.Forms.FormClosedEventHandler(FormHierachyDisplay_FormClosed);
     Load           += new System.EventHandler(HirachyDisplay_Load);
     contextMenuStrip.ResumeLayout(false);
     m_TableLayoutPanel1.ResumeLayout(false);
     m_TableLayoutPanel1.PerformLayout();
     ResumeLayout(false);
 }
Exemplo n.º 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.components = new System.ComponentModel.Container();
            System.Windows.Forms.Label             labelID;
            System.Windows.Forms.Label             labelDisplay;
            System.Windows.Forms.Label             labelParent;
            System.Windows.Forms.ContextMenuStrip  contextMenuStrip;
            System.Windows.Forms.ToolStripMenuItem expandAllToolStripMenuItem;
            System.Windows.Forms.ToolStripMenuItem closeAllToolStripMenuItem;
            System.Windows.Forms.Label             labelFind;
            this.m_TableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
            this.m_ComboBoxID        = new System.Windows.Forms.ComboBox();
            this.m_ComboBoxParentID  = new System.Windows.Forms.ComboBox();
            this.m_TreeView          = new CsvTools.MultiselectTreeView();
            this.m_TextBoxValue      = new System.Windows.Forms.TextBox();
            this.m_ComboBoxDisplay2  = new System.Windows.Forms.ComboBox();
            this.m_ComboBoxDisplay1  = new System.Windows.Forms.ComboBox();
            labelID                    = new System.Windows.Forms.Label();
            labelDisplay               = new System.Windows.Forms.Label();
            labelParent                = new System.Windows.Forms.Label();
            contextMenuStrip           = new System.Windows.Forms.ContextMenuStrip(this.components);
            expandAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            closeAllToolStripMenuItem  = new System.Windows.Forms.ToolStripMenuItem();
            labelFind                  = new System.Windows.Forms.Label();
            contextMenuStrip.SuspendLayout();
            this.m_TableLayoutPanel1.SuspendLayout();
            this.SuspendLayout();
            // labelID
            labelID.Anchor   = System.Windows.Forms.AnchorStyles.Right;
            labelID.AutoSize = true;
            labelID.Location = new System.Drawing.Point(52, 6);
            labelID.Name     = "labelID";
            labelID.Size     = new System.Drawing.Size(19, 15);
            labelID.TabIndex = 3;
            labelID.Text     = "ID";
            // labelDisplay
            labelDisplay.Anchor   = System.Windows.Forms.AnchorStyles.Right;
            labelDisplay.AutoSize = true;
            labelDisplay.Location = new System.Drawing.Point(24, 33);
            labelDisplay.Name     = "labelDisplay";
            labelDisplay.Size     = new System.Drawing.Size(47, 15);
            labelDisplay.TabIndex = 5;
            labelDisplay.Text     = "Display";
            // labelParent
            labelParent.Anchor   = System.Windows.Forms.AnchorStyles.Right;
            labelParent.AutoSize = true;
            labelParent.Location = new System.Drawing.Point(13, 60);
            labelParent.Name     = "labelParent";
            labelParent.Size     = new System.Drawing.Size(58, 15);
            labelParent.TabIndex = 7;
            labelParent.Text     = "Parent ID";
            // contextMenuStrip
            contextMenuStrip.ImageScalingSize = new System.Drawing.Size(20, 20);
            contextMenuStrip.Items.AddRange(
                new System.Windows.Forms.ToolStripItem[] { expandAllToolStripMenuItem, closeAllToolStripMenuItem });
            contextMenuStrip.Name = "contextMenuStrip";
            contextMenuStrip.Size = new System.Drawing.Size(150, 52);
            // expandAllToolStripMenuItem
            expandAllToolStripMenuItem.Name   = "expandAllToolStripMenuItem";
            expandAllToolStripMenuItem.Size   = new System.Drawing.Size(149, 24);
            expandAllToolStripMenuItem.Text   = "Expand All";
            expandAllToolStripMenuItem.Click += new System.EventHandler(this.ExpandAllToolStripMenuItem_Click);
            // closeAllToolStripMenuItem
            closeAllToolStripMenuItem.Name   = "closeAllToolStripMenuItem";
            closeAllToolStripMenuItem.Size   = new System.Drawing.Size(149, 24);
            closeAllToolStripMenuItem.Text   = "Close All";
            closeAllToolStripMenuItem.Click += new System.EventHandler(this.CloseAllToolStripMenuItem_Click);
            // labelFind
            labelFind.Anchor   = System.Windows.Forms.AnchorStyles.Right;
            labelFind.AutoSize = true;
            labelFind.Location = new System.Drawing.Point(40, 86);
            labelFind.Name     = "labelFind";
            labelFind.Size     = new System.Drawing.Size(31, 15);
            labelFind.TabIndex = 5;
            labelFind.Text     = "Find";
            // m_TableLayoutPanel1
            this.m_TableLayoutPanel1.ColumnCount = 3;
            this.m_TableLayoutPanel1.ColumnStyles.Add(
                new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 74F));
            this.m_TableLayoutPanel1.ColumnStyles.Add(
                new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
            this.m_TableLayoutPanel1.ColumnStyles.Add(
                new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
            this.m_TableLayoutPanel1.Controls.Add(labelID, 0, 0);
            this.m_TableLayoutPanel1.Controls.Add(labelDisplay, 0, 1);
            this.m_TableLayoutPanel1.Controls.Add(labelParent, 0, 2);
            this.m_TableLayoutPanel1.Controls.Add(this.m_ComboBoxID, 1, 0);
            this.m_TableLayoutPanel1.Controls.Add(this.m_ComboBoxParentID, 1, 2);
            this.m_TableLayoutPanel1.Controls.Add(this.m_TreeView, 0, 4);
            this.m_TableLayoutPanel1.Controls.Add(this.m_TextBoxValue, 1, 3);
            this.m_TableLayoutPanel1.Controls.Add(labelFind, 0, 3);
            this.m_TableLayoutPanel1.Controls.Add(this.m_ComboBoxDisplay2, 2, 1);
            this.m_TableLayoutPanel1.Controls.Add(this.m_ComboBoxDisplay1, 1, 1);
            this.m_TableLayoutPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.m_TableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
            this.m_TableLayoutPanel1.Name     = "m_TableLayoutPanel1";
            this.m_TableLayoutPanel1.RowCount = 5;
            this.m_TableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
            this.m_TableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
            this.m_TableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
            this.m_TableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
            this.m_TableLayoutPanel1.RowStyles.Add(
                new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.m_TableLayoutPanel1.Size     = new System.Drawing.Size(502, 368);
            this.m_TableLayoutPanel1.TabIndex = 10;
            // m_ComboBoxID
            this.m_TableLayoutPanel1.SetColumnSpan(this.m_ComboBoxID, 2);
            this.m_ComboBoxID.Dock                  = System.Windows.Forms.DockStyle.Top;
            this.m_ComboBoxID.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.m_ComboBoxID.FormattingEnabled     = true;
            this.m_ComboBoxID.Location              = new System.Drawing.Point(77, 3);
            this.m_ComboBoxID.Name                  = "m_ComboBoxID";
            this.m_ComboBoxID.Size                  = new System.Drawing.Size(422, 21);
            this.m_ComboBoxID.TabIndex              = 0;
            this.m_ComboBoxID.SelectedIndexChanged += new System.EventHandler(this.TimeDisplayRestart);

            // m_ComboBoxParentID
            this.m_TableLayoutPanel1.SetColumnSpan(this.m_ComboBoxParentID, 2);
            this.m_ComboBoxParentID.Dock                  = System.Windows.Forms.DockStyle.Top;
            this.m_ComboBoxParentID.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.m_ComboBoxParentID.FormattingEnabled     = true;
            this.m_ComboBoxParentID.Location              = new System.Drawing.Point(77, 57);
            this.m_ComboBoxParentID.Name                  = "m_ComboBoxParentID";
            this.m_ComboBoxParentID.Size                  = new System.Drawing.Size(422, 21);
            this.m_ComboBoxParentID.TabIndex              = 1;
            this.m_ComboBoxParentID.SelectedIndexChanged += new System.EventHandler(this.TimeDisplayRestart);
            // m_TreeView
            this.m_TableLayoutPanel1.SetColumnSpan(this.m_TreeView, 3);
            this.m_TreeView.ContextMenuStrip = contextMenuStrip;
            this.m_TreeView.Dock             = System.Windows.Forms.DockStyle.Fill;
            this.m_TreeView.Location         = new System.Drawing.Point(3, 110);
            this.m_TreeView.Name             = "m_TreeView";
            this.m_TreeView.Size             = new System.Drawing.Size(496, 255);
            this.m_TreeView.TabIndex         = 9;
            // m_TextBoxValue
            this.m_TextBoxValue.Dock         = System.Windows.Forms.DockStyle.Top;
            this.m_TextBoxValue.Location     = new System.Drawing.Point(77, 84);
            this.m_TextBoxValue.Name         = "m_TextBoxValue";
            this.m_TextBoxValue.Size         = new System.Drawing.Size(208, 20);
            this.m_TextBoxValue.TabIndex     = 2;
            this.m_TextBoxValue.TextChanged += new System.EventHandler(this.TimerSearchRestart);
            // m_ComboBoxDisplay2
            this.m_ComboBoxDisplay2.Dock = System.Windows.Forms.DockStyle.Top;
            this.m_ComboBoxDisplay2.FormattingEnabled = true;
            this.m_ComboBoxDisplay2.Location          = new System.Drawing.Point(291, 30);
            this.m_ComboBoxDisplay2.Name                  = "m_ComboBoxDisplay2";
            this.m_ComboBoxDisplay2.Size                  = new System.Drawing.Size(208, 21);
            this.m_ComboBoxDisplay2.TabIndex              = 15;
            this.m_ComboBoxDisplay2.SelectedIndexChanged += new System.EventHandler(this.TimeDisplayRestart);
            // m_ComboBoxDisplay1
            this.m_ComboBoxDisplay1.Dock = System.Windows.Forms.DockStyle.Top;
            this.m_ComboBoxDisplay1.FormattingEnabled = true;
            this.m_ComboBoxDisplay1.Location          = new System.Drawing.Point(77, 30);
            this.m_ComboBoxDisplay1.Name                  = "m_ComboBoxDisplay1";
            this.m_ComboBoxDisplay1.Size                  = new System.Drawing.Size(208, 21);
            this.m_ComboBoxDisplay1.TabIndex              = 16;
            this.m_ComboBoxDisplay1.SelectedIndexChanged += new System.EventHandler(this.TimeDisplayRestart);
            // FormHierarchyDisplay
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize          = new System.Drawing.Size(502, 368);
            this.Controls.Add(this.m_TableLayoutPanel1);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
            this.MinimumSize     = new System.Drawing.Size(339, 196);
            this.Name            = "FormHierarchyDisplay";
            this.Text            = "Hierarchy";
            this.FormClosing    += new System.Windows.Forms.FormClosingEventHandler(this.FormHierarchyDisplay_FormClosing);
            this.Load           += new System.EventHandler(this.FormHierarchyDisplay_Load);
            contextMenuStrip.ResumeLayout(false);
            this.m_TableLayoutPanel1.ResumeLayout(false);
            this.m_TableLayoutPanel1.PerformLayout();
            this.ResumeLayout(false);
        }