コード例 #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     C1.Win.TreeView.C1TreeColumn c1TreeColumn1 = new C1.Win.TreeView.C1TreeColumn();
     this.c1TreeView1 = new C1.Win.TreeView.C1TreeView();
     ((System.ComponentModel.ISupportInitialize)(this.c1TreeView1)).BeginInit();
     this.SuspendLayout();
     //
     // c1TreeView1
     //
     this.c1TreeView1.CheckBoxes    = true;
     c1TreeColumn1.DisplayFieldName = null;
     c1TreeColumn1.HeaderText       = null;
     c1TreeColumn1.Name             = null;
     this.c1TreeView1.Columns.Add(c1TreeColumn1);
     this.c1TreeView1.Dock              = System.Windows.Forms.DockStyle.Fill;
     this.c1TreeView1.Location          = new System.Drawing.Point(0, 0);
     this.c1TreeView1.Name              = "c1TreeView1";
     this.c1TreeView1.AllowEditing      = true;
     this.c1TreeView1.ShowColumnHeaders = false;
     this.c1TreeView1.Size              = new System.Drawing.Size(426, 402);
     this.c1TreeView1.TabIndex          = 0;
     //
     // TodoList
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(426, 402);
     this.Controls.Add(this.c1TreeView1);
     this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.Name   = "TodoList";
     this.Text   = "ToDoList";
     ((System.ComponentModel.ISupportInitialize)(this.c1TreeView1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     C1.Win.TreeView.C1TreeColumn c1TreeColumn1 = new C1.Win.TreeView.C1TreeColumn();
     this.c1TreeView1 = new C1.Win.TreeView.C1TreeView();
     ((System.ComponentModel.ISupportInitialize)(this.c1TreeView1)).BeginInit();
     this.SuspendLayout();
     //
     // c1TreeView1
     //
     c1TreeColumn1.DisplayFieldName = null;
     c1TreeColumn1.HeaderText       = "Column1";
     c1TreeColumn1.Name             = "Column1";
     this.c1TreeView1.Columns.Add(c1TreeColumn1);
     this.c1TreeView1.BindingInfo.DataMember = null;
     this.c1TreeView1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.c1TreeView1.BindingInfo.KeyField = null;
     this.c1TreeView1.Location             = new System.Drawing.Point(0, 0);
     this.c1TreeView1.Name = "c1TreeView1";
     this.c1TreeView1.BindingInfo.ParentKeyField = null;
     this.c1TreeView1.Size     = new System.Drawing.Size(284, 261);
     this.c1TreeView1.TabIndex = 0;
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(284, 261);
     this.Controls.Add(this.c1TreeView1);
     this.Name = "Form1";
     this.Text = "Form1";
     ((System.ComponentModel.ISupportInitialize)(this.c1TreeView1)).EndInit();
     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.components = new System.ComponentModel.Container();
     C1.Win.TreeView.C1TreeColumn c1TreeColumn1 = new C1.Win.TreeView.C1TreeColumn();
     this.c1TreeView1 = new C1.Win.TreeView.C1TreeView();
     this.imageList1  = new System.Windows.Forms.ImageList(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.c1TreeView1)).BeginInit();
     this.SuspendLayout();
     //
     // c1TreeView1
     //
     this.c1TreeView1.BindingInfo.DataMember     = null;
     this.c1TreeView1.BindingInfo.KeyField       = null;
     this.c1TreeView1.BindingInfo.ParentKeyField = null;
     //
     //
     //
     this.c1TreeView1.ButtonImageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.c1TreeView1.ButtonImageList.ImageSize  = new System.Drawing.Size(16, 16);
     //
     //
     //
     this.c1TreeView1.CheckImageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.c1TreeView1.CheckImageList.ImageSize  = new System.Drawing.Size(16, 16);
     c1TreeColumn1.AutoWidth        = true;
     c1TreeColumn1.DisplayFieldName = null;
     c1TreeColumn1.HeaderText       = "Column1";
     c1TreeColumn1.Name             = "Column1";
     c1TreeColumn1.Width            = 180;
     this.c1TreeView1.Columns.Add(c1TreeColumn1);
     this.c1TreeView1.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.c1TreeView1.ImageList = this.imageList1;
     this.c1TreeView1.Location  = new System.Drawing.Point(0, 0);
     this.c1TreeView1.Name      = "c1TreeView1";
     this.c1TreeView1.Size      = new System.Drawing.Size(691, 583);
     this.c1TreeView1.TabIndex  = 0;
     //
     // imageList1
     //
     this.imageList1.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.imageList1.ImageSize        = new System.Drawing.Size(16, 16);
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     //
     // Overview
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.c1TreeView1);
     this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.Name   = "Overview";
     this.Size   = new System.Drawing.Size(691, 583);
     ((System.ComponentModel.ISupportInitialize)(this.c1TreeView1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #4
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     C1.Win.TreeView.C1TreeColumn c1TreeColumn1 = new C1.Win.TreeView.C1TreeColumn();
     C1.Win.TreeView.C1TreeColumn c1TreeColumn2 = new C1.Win.TreeView.C1TreeColumn();
     C1.Win.TreeView.C1TreeColumn c1TreeColumn3 = new C1.Win.TreeView.C1TreeColumn();
     this.c1TreeView1 = new C1.Win.TreeView.C1TreeView();
     ((System.ComponentModel.ISupportInitialize)(this.c1TreeView1)).BeginInit();
     this.SuspendLayout();
     //
     // c1TreeView1
     //
     this.c1TreeView1.AllowEditing    = true;
     this.c1TreeView1.AutoSizeElement = C1.Framework.AutoSizeElement.Both;
     c1TreeColumn1.DisplayFieldName   = "Post";
     c1TreeColumn1.HeaderText         = "Post";
     c1TreeColumn1.Name             = "cPost";
     c1TreeColumn2.DisplayFieldName = null;
     c1TreeColumn2.HeaderText       = "Name";
     c1TreeColumn2.Name             = "cName";
     c1TreeColumn3.DisplayFieldName = "CountryId";
     c1TreeColumn3.EditorType       = C1.Win.TreeView.C1TreeViewEditorType.ComboBox;
     c1TreeColumn3.HeaderText       = "Country";
     c1TreeColumn3.Name             = "cCountry";
     this.c1TreeView1.Columns.Add(c1TreeColumn1);
     this.c1TreeView1.Columns.Add(c1TreeColumn2);
     this.c1TreeView1.Columns.Add(c1TreeColumn3);
     this.c1TreeView1.BindingInfo.DataMember = null;
     this.c1TreeView1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.c1TreeView1.BindingInfo.KeyField = null;
     this.c1TreeView1.Location             = new System.Drawing.Point(0, 0);
     this.c1TreeView1.Name = "c1TreeView1";
     this.c1TreeView1.BindingInfo.ParentKeyField = null;
     this.c1TreeView1.Size     = new System.Drawing.Size(654, 325);
     this.c1TreeView1.TabIndex = 0;
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(654, 325);
     this.Controls.Add(this.c1TreeView1);
     this.Name = "Form1";
     this.Text = "Form1";
     ((System.ComponentModel.ISupportInitialize)(this.c1TreeView1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #5
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();
     C1.Win.TreeView.C1TreeColumn c1TreeColumn1 = new C1.Win.TreeView.C1TreeColumn();
     this.c1TreeView1 = new C1.Win.TreeView.C1TreeView();
     this.imageList1  = new System.Windows.Forms.ImageList(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.c1TreeView1)).BeginInit();
     this.SuspendLayout();
     //
     // c1TreeView1
     //
     c1TreeColumn1.DisplayFieldName = null;
     c1TreeColumn1.HeaderText       = null;
     c1TreeColumn1.Name             = null;
     this.c1TreeView1.Columns.Add(c1TreeColumn1);
     this.c1TreeView1.DataMember        = null;
     this.c1TreeView1.Dock              = System.Windows.Forms.DockStyle.Fill;
     this.c1TreeView1.ImageList         = this.imageList1;
     this.c1TreeView1.KeyField          = null;
     this.c1TreeView1.Location          = new System.Drawing.Point(0, 0);
     this.c1TreeView1.Name              = "c1TreeView1";
     this.c1TreeView1.ParentKeyField    = null;
     this.c1TreeView1.ShowColumnHeaders = false;
     this.c1TreeView1.Size              = new System.Drawing.Size(426, 402);
     this.c1TreeView1.TabIndex          = 0;
     //
     // imageList1
     //
     this.imageList1.ColorDepth       = System.Windows.Forms.ColorDepth.Depth32Bit;
     this.imageList1.ImageSize        = new System.Drawing.Size(16, 16);
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     //
     // SourceCodeStructureViewer
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(426, 402);
     this.Controls.Add(this.c1TreeView1);
     this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.Name   = "SourceCodeStructureViewer";
     this.Text   = "RegistryViewer";
     ((System.ComponentModel.ISupportInitialize)(this.c1TreeView1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #6
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     C1.Win.TreeView.C1TreeColumn c1TreeColumn1 = new C1.Win.TreeView.C1TreeColumn();
     C1.Win.TreeView.C1TreeColumn c1TreeColumn2 = new C1.Win.TreeView.C1TreeColumn();
     C1.Win.TreeView.C1TreeColumn c1TreeColumn3 = new C1.Win.TreeView.C1TreeColumn();
     C1.Win.TreeView.C1TreeColumn c1TreeColumn4 = new C1.Win.TreeView.C1TreeColumn();
     this.c1TreeView1 = new C1.Win.TreeView.C1TreeView();
     this.textBox1    = new System.Windows.Forms.TextBox();
     this.comboBox1   = new System.Windows.Forms.ComboBox();
     ((System.ComponentModel.ISupportInitialize)(this.c1TreeView1)).BeginInit();
     this.SuspendLayout();
     //
     // c1TreeView1
     //
     this.c1TreeView1.AllowEditing    = true;
     this.c1TreeView1.AutoSizeElement = C1.Framework.AutoSizeElement.Both;
     c1TreeColumn1.DisplayFieldName   = "TextValue\\TextValue";
     c1TreeColumn1.Editor             = this.textBox1;
     c1TreeColumn1.HeaderText         = "MS TextBox";
     c1TreeColumn1.Name             = "Column1";
     c1TreeColumn2.DisplayFieldName = "ObjectValue\\ObjectValue";
     c1TreeColumn2.Editor           = this.comboBox1;
     c1TreeColumn2.EditorType       = C1.Win.TreeView.C1TreeViewEditorType.ComboBox;
     c1TreeColumn2.HeaderText       = "MS ComboBox";
     c1TreeColumn2.Name             = "Column2";
     c1TreeColumn3.DisplayFieldName = "ColorValue\\ColorValue";
     c1TreeColumn3.HeaderText       = "Custom ColorPicker";
     c1TreeColumn3.Name             = "Column3";
     c1TreeColumn4.DisplayFieldName = "DateValue\\DateValue";
     c1TreeColumn4.HeaderText       = "Custom DatePicker";
     c1TreeColumn4.Name             = "Column4";
     this.c1TreeView1.Columns.Add(c1TreeColumn1);
     this.c1TreeView1.Columns.Add(c1TreeColumn2);
     this.c1TreeView1.Columns.Add(c1TreeColumn3);
     this.c1TreeView1.Columns.Add(c1TreeColumn4);
     this.c1TreeView1.BindingInfo.DataMember = null;
     this.c1TreeView1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.c1TreeView1.BindingInfo.KeyField = null;
     this.c1TreeView1.Location             = new System.Drawing.Point(0, 0);
     this.c1TreeView1.Name = "c1TreeView1";
     this.c1TreeView1.BindingInfo.ParentKeyField = null;
     this.c1TreeView1.Size     = new System.Drawing.Size(569, 354);
     this.c1TreeView1.TabIndex = 0;
     //
     // textBox1
     //
     this.textBox1.Location = new System.Drawing.Point(369, 245);
     this.textBox1.Name     = "textBox1";
     this.textBox1.Size     = new System.Drawing.Size(100, 20);
     this.textBox1.TabIndex = 1;
     this.textBox1.Visible  = false;
     //
     // comboBox1
     //
     this.comboBox1.FormattingEnabled = true;
     this.comboBox1.Items.AddRange(new object[] {
         "1",
         "2",
         "3",
         "4"
     });
     this.comboBox1.Location = new System.Drawing.Point(369, 271);
     this.comboBox1.Name     = "comboBox1";
     this.comboBox1.Size     = new System.Drawing.Size(121, 21);
     this.comboBox1.TabIndex = 2;
     this.comboBox1.Visible  = false;
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(569, 354);
     this.Controls.Add(this.comboBox1);
     this.Controls.Add(this.textBox1);
     this.Controls.Add(this.c1TreeView1);
     this.Name = "Form1";
     this.Text = "Form1";
     ((System.ComponentModel.ISupportInitialize)(this.c1TreeView1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #7
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     C1.Win.TreeView.C1TreeColumn c1TreeColumn1 = new C1.Win.TreeView.C1TreeColumn();
     C1.Win.TreeView.C1TreeColumn c1TreeColumn2 = new C1.Win.TreeView.C1TreeColumn();
     C1.Win.TreeView.C1TreeColumn c1TreeColumn3 = new C1.Win.TreeView.C1TreeColumn();
     C1.Win.TreeView.C1TreeColumn c1TreeColumn4 = new C1.Win.TreeView.C1TreeColumn();
     C1.Win.TreeView.C1TreeColumn c1TreeColumn5 = new C1.Win.TreeView.C1TreeColumn();
     C1.Win.TreeView.C1TreeColumn c1TreeColumn6 = new C1.Win.TreeView.C1TreeColumn();
     this.c1TreeView1 = new C1.Win.TreeView.C1TreeView();
     ((System.ComponentModel.ISupportInitialize)(this.c1TreeView1)).BeginInit();
     this.SuspendLayout();
     //
     // c1TreeView1
     //
     this.c1TreeView1.AllowEditing               = true;
     this.c1TreeView1.BindingInfo.DataMember     = null;
     this.c1TreeView1.BindingInfo.KeyField       = null;
     this.c1TreeView1.BindingInfo.ParentKeyField = null;
     //
     //
     //
     this.c1TreeView1.ButtonImageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.c1TreeView1.ButtonImageList.ImageSize  = new System.Drawing.Size(16, 16);
     //
     //
     //
     this.c1TreeView1.CheckImageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.c1TreeView1.CheckImageList.ImageSize  = new System.Drawing.Size(16, 16);
     c1TreeColumn1.DisplayFieldName             = "Post";
     c1TreeColumn1.HeaderText       = "Post";
     c1TreeColumn1.Name             = "cPost";
     c1TreeColumn2.DisplayFieldName = null;
     c1TreeColumn2.HeaderText       = "Name";
     c1TreeColumn2.IsTypedEditor    = false;
     c1TreeColumn2.Name             = "cName";
     c1TreeColumn3.DisplayFieldName = "CountryId";
     c1TreeColumn3.EditorType       = C1.Win.TreeView.C1TreeViewEditorType.ComboBox;
     c1TreeColumn3.HeaderText       = "Country";
     c1TreeColumn3.Name             = "cCountry";
     c1TreeColumn4.DisplayFieldName = "YearBonus";
     c1TreeColumn4.EditorType       = C1.Win.TreeView.C1TreeViewEditorType.NumericEdit;
     c1TreeColumn4.HeaderText       = "Year Bonus";
     c1TreeColumn4.Name             = "cBonus";
     c1TreeColumn5.DisplayFieldName = "HasSpecialNeeds";
     c1TreeColumn5.EditorType       = C1.Win.TreeView.C1TreeViewEditorType.CheckBox;
     c1TreeColumn5.HeaderText       = "Has Special Needs";
     c1TreeColumn5.Name             = "cNeeds";
     c1TreeColumn6.DisplayFieldName = "HireDate";
     c1TreeColumn6.EditorType       = C1.Win.TreeView.C1TreeViewEditorType.DatePicker;
     c1TreeColumn6.HeaderText       = "Hire Date";
     c1TreeColumn6.Name             = "cHireDate";
     this.c1TreeView1.Columns.Add(c1TreeColumn1);
     this.c1TreeView1.Columns.Add(c1TreeColumn2);
     this.c1TreeView1.Columns.Add(c1TreeColumn3);
     this.c1TreeView1.Columns.Add(c1TreeColumn4);
     this.c1TreeView1.Columns.Add(c1TreeColumn5);
     this.c1TreeView1.Columns.Add(c1TreeColumn6);
     this.c1TreeView1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.c1TreeView1.Location = new System.Drawing.Point(0, 0);
     this.c1TreeView1.Name     = "c1TreeView1";
     this.c1TreeView1.Size     = new System.Drawing.Size(763, 425);
     this.c1TreeView1.TabIndex = 0;
     //
     // DefaultEditors
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.c1TreeView1);
     this.Margin = new System.Windows.Forms.Padding(4);
     this.Name   = "DefaultEditors";
     this.Size   = new System.Drawing.Size(763, 425);
     ((System.ComponentModel.ISupportInitialize)(this.c1TreeView1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #8
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     C1.Win.TreeView.C1TreeColumn c1TreeColumn1 = new C1.Win.TreeView.C1TreeColumn();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
     this.splitContainer1    = new System.Windows.Forms.SplitContainer();
     this.c1TreeView1        = new C1.Win.TreeView.C1TreeView();
     this.c1DataFilter1      = new C1.Win.DataFilter.C1DataFilter();
     this.c1ThemeController1 = new C1.Win.C1Themes.C1ThemeController();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.c1TreeView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.c1DataFilter1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.c1ThemeController1)).BeginInit();
     this.SuspendLayout();
     //
     // splitContainer1
     //
     this.splitContainer1.BackColor = System.Drawing.Color.White;
     this.splitContainer1.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
     this.splitContainer1.Location  = new System.Drawing.Point(0, 0);
     this.splitContainer1.Name      = "splitContainer1";
     //
     // splitContainer1.Panel1
     //
     this.splitContainer1.Panel1.BackColor = System.Drawing.Color.White;
     this.splitContainer1.Panel1.Controls.Add(this.c1TreeView1);
     this.splitContainer1.Panel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
     this.c1ThemeController1.SetTheme(this.splitContainer1.Panel1, "(default)");
     //
     // splitContainer1.Panel2
     //
     this.splitContainer1.Panel2.BackColor = System.Drawing.Color.White;
     this.splitContainer1.Panel2.Controls.Add(this.c1DataFilter1);
     this.splitContainer1.Panel2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
     this.c1ThemeController1.SetTheme(this.splitContainer1.Panel2, "(default)");
     this.splitContainer1.Size             = new System.Drawing.Size(683, 404);
     this.splitContainer1.SplitterDistance = 467;
     this.splitContainer1.TabIndex         = 0;
     this.c1ThemeController1.SetTheme(this.splitContainer1, "(default)");
     //
     // c1TreeView1
     //
     this.c1TreeView1.BackColor = System.Drawing.Color.White;
     //
     //
     //
     this.c1TreeView1.ButtonImageList.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.c1TreeView1.ButtonImageList.ImageSize        = new System.Drawing.Size(9, 9);
     this.c1TreeView1.ButtonImageList.TransparentColor = System.Drawing.Color.Transparent;
     //
     //
     //
     this.c1TreeView1.CheckImageList.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.c1TreeView1.CheckImageList.ImageSize        = new System.Drawing.Size(13, 13);
     this.c1TreeView1.CheckImageList.TransparentColor = System.Drawing.Color.Transparent;
     c1TreeColumn1.DisplayFieldName = null;
     c1TreeColumn1.HeaderText       = "Column1";
     c1TreeColumn1.Name             = "Column1";
     this.c1TreeView1.Columns.Add(c1TreeColumn1);
     this.c1TreeView1.Dock                     = System.Windows.Forms.DockStyle.Fill;
     this.c1TreeView1.Location                 = new System.Drawing.Point(0, 0);
     this.c1TreeView1.Name                     = "c1TreeView1";
     this.c1TreeView1.ShowColumnHeaders        = false;
     this.c1TreeView1.Size                     = new System.Drawing.Size(467, 404);
     this.c1TreeView1.Styles.BorderStyle       = C1.Win.TreeView.C1TreeViewBorderStyle.Full;
     this.c1TreeView1.Styles.ExpandButtonStyle = C1.Win.TreeView.ExpandButtonStyle.Windows10;
     this.c1TreeView1.Styles.ShowLines         = false;
     this.c1TreeView1.TabIndex                 = 0;
     this.c1ThemeController1.SetTheme(this.c1TreeView1, "(default)");
     //
     // c1DataFilter1
     //
     this.c1DataFilter1.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.c1DataFilter1.Location   = new System.Drawing.Point(0, 0);
     this.c1DataFilter1.Name       = "c1DataFilter1";
     this.c1DataFilter1.ShowHeader = false;
     this.c1DataFilter1.Size       = new System.Drawing.Size(212, 404);
     this.c1DataFilter1.TabIndex   = 0;
     this.c1DataFilter1.Text       = "c1DataFilter1";
     this.c1ThemeController1.SetTheme(this.c1DataFilter1, "(default)");
     this.c1DataFilter1.FilterChanged += new System.EventHandler(this.c1DataFilter1_FilterChanged);
     //
     // c1ThemeController1
     //
     this.c1ThemeController1.Theme = "Office2016White";
     //
     // MainForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(683, 404);
     this.Controls.Add(this.splitContainer1);
     this.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.Icon      = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name      = "MainForm";
     this.Text      = "Custom filters";
     this.c1ThemeController1.SetTheme(this, "(default)");
     this.VisualStyleHolder = C1.Win.C1Ribbon.VisualStyle.Custom;
     this.WindowState       = System.Windows.Forms.FormWindowState.Maximized;
     this.Load += new System.EventHandler(this.MainForm_Load);
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
     this.splitContainer1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.c1TreeView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.c1DataFilter1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.c1ThemeController1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #9
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     C1.Win.TreeView.C1TreeColumn c1TreeColumn1 = new C1.Win.TreeView.C1TreeColumn();
     C1.Win.TreeView.C1TreeColumn c1TreeColumn2 = new C1.Win.TreeView.C1TreeColumn();
     this.c1TreeView1             = new C1.Win.TreeView.C1TreeView();
     this.dataSet11               = new CustomNodes.DataSet1();
     this.productsTableAdapter1   = new CustomNodes.DataSet1TableAdapters.ProductsTableAdapter();
     this.categoriesTableAdapter1 = new CustomNodes.DataSet1TableAdapters.CategoriesTableAdapter();
     this.c1ThemeController1      = new C1.Win.C1Themes.C1ThemeController();
     ((System.ComponentModel.ISupportInitialize)(this.c1TreeView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.c1ThemeController1)).BeginInit();
     this.SuspendLayout();
     //
     // c1TreeView1
     //
     this.c1TreeView1.AutoSizeElement = C1.Framework.AutoSizeElement.Both;
     this.c1TreeView1.BackColor       = System.Drawing.Color.White;
     this.c1TreeView1.BorderStyle     = System.Windows.Forms.BorderStyle.None;
     c1TreeColumn1.DisplayFieldName   = "ProductName";
     c1TreeColumn1.HeaderText         = "Category";
     c1TreeColumn1.Name             = "Column1";
     c1TreeColumn1.Width            = 210;
     c1TreeColumn2.DisplayFieldName = null;
     c1TreeColumn2.HeaderText       = "Products";
     c1TreeColumn2.Name             = "Column2";
     c1TreeColumn2.Width            = 200;
     this.c1TreeView1.Columns.Add(c1TreeColumn1);
     this.c1TreeView1.Columns.Add(c1TreeColumn2);
     this.c1TreeView1.BindingInfo.DataMember = null;
     this.c1TreeView1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.c1TreeView1.BindingInfo.KeyField = null;
     this.c1TreeView1.Location             = new System.Drawing.Point(0, 0);
     this.c1TreeView1.Name = "c1TreeView1";
     this.c1TreeView1.BindingInfo.ParentKeyField = null;
     this.c1TreeView1.Size = new System.Drawing.Size(715, 381);
     this.c1TreeView1.Styles.BorderStyle                  = C1.Win.TreeView.C1TreeViewBorderStyle.Full;
     this.c1TreeView1.Styles.ColumnHeader.BackColor       = System.Drawing.Color.YellowGreen;
     this.c1TreeView1.Styles.ColumnHeader.Font            = new System.Drawing.Font("Calibri", 10F, System.Drawing.FontStyle.Bold);
     this.c1TreeView1.Styles.ColumnHeader.ForeColor       = System.Drawing.Color.Black;
     this.c1TreeView1.Styles.ColumnHeader.HorizontalAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.c1TreeView1.Styles.ExpandButtonStyle            = C1.Win.TreeView.ExpandButtonStyle.Windows10;
     this.c1TreeView1.Styles.ShowLines = false;
     this.c1TreeView1.TabIndex         = 0;
     this.c1ThemeController1.SetTheme(this.c1TreeView1, "Windows8Green");
     //
     // dataSet11
     //
     this.dataSet11.DataSetName             = "DataSet1";
     this.dataSet11.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // productsTableAdapter1
     //
     this.productsTableAdapter1.ClearBeforeFill = true;
     //
     // categoriesTableAdapter1
     //
     this.categoriesTableAdapter1.ClearBeforeFill = true;
     //
     // c1ThemeController1
     //
     this.c1ThemeController1.Theme = "VS2013Light";
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(715, 381);
     this.Controls.Add(this.c1TreeView1);
     this.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(169)))), ((int)(((byte)(23)))));
     this.Name      = "Form1";
     this.Text      = "Form1";
     this.c1ThemeController1.SetTheme(this, "Windows8Green");
     this.Load += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.c1TreeView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.c1ThemeController1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #10
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     C1.Win.TreeView.C1TreeColumn c1TreeColumn1 = new C1.Win.TreeView.C1TreeColumn();
     this.c1ThemeController1     = new C1.Win.C1Themes.C1ThemeController();
     this.panel1                 = new System.Windows.Forms.Panel();
     this.c1DockingTab1          = new C1.Win.C1Command.C1DockingTab();
     this.c1DockingTabPage1      = new C1.Win.C1Command.C1DockingTabPage();
     this.propertyGrid1          = new System.Windows.Forms.PropertyGrid();
     this.c1TreeView1            = new C1.Win.TreeView.C1TreeView();
     this.label4                 = new System.Windows.Forms.Label();
     this.nudLevelsCount         = new System.Windows.Forms.NumericUpDown();
     this.label3                 = new System.Windows.Forms.Label();
     this.label2                 = new System.Windows.Forms.Label();
     this.label1                 = new System.Windows.Forms.Label();
     this.nudRootNodesCount      = new System.Windows.Forms.NumericUpDown();
     this.nudNodesCount          = new System.Windows.Forms.NumericUpDown();
     this.nudColumnsCount        = new System.Windows.Forms.NumericUpDown();
     this.btnClearTree           = new C1.Win.C1Input.C1Button();
     this.btnGenereteTree        = new C1.Win.C1Input.C1Button();
     this.c1DockingTabPage2      = new C1.Win.C1Command.C1DockingTabPage();
     this.pgColumn               = new System.Windows.Forms.PropertyGrid();
     this.cmbSelectedColumn      = new C1.Win.C1Input.C1ComboBox();
     this.c1Label1               = new C1.Win.C1Input.C1Label();
     this.btnAddNewColumn        = new C1.Win.C1Input.C1Button();
     this.btnRemoveColumn        = new C1.Win.C1Input.C1Button();
     this.c1DockingTabPage3      = new C1.Win.C1Command.C1DockingTabPage();
     this.pgNode                 = new System.Windows.Forms.PropertyGrid();
     this.btnRemoveSelectedNodes = new C1.Win.C1Input.C1Button();
     this.panel2                 = new System.Windows.Forms.Panel();
     this.splitContainer1        = new System.Windows.Forms.SplitContainer();
     ((System.ComponentModel.ISupportInitialize)(this.c1ThemeController1)).BeginInit();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.c1DockingTab1)).BeginInit();
     this.c1DockingTab1.SuspendLayout();
     this.c1DockingTabPage1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.c1TreeView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.nudLevelsCount)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.nudRootNodesCount)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.nudNodesCount)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.nudColumnsCount)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnClearTree)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnGenereteTree)).BeginInit();
     this.c1DockingTabPage2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cmbSelectedColumn)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.c1Label1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnAddNewColumn)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnRemoveColumn)).BeginInit();
     this.c1DockingTabPage3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.btnRemoveSelectedNodes)).BeginInit();
     this.panel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.SuspendLayout();
     //
     // c1ThemeController1
     //
     this.c1ThemeController1.Theme = "GreenHouse";
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.White;
     this.panel1.Controls.Add(this.c1DockingTab1);
     this.panel1.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.panel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(169)))), ((int)(((byte)(23)))));
     this.panel1.Location  = new System.Drawing.Point(0, 0);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(312, 459);
     this.panel1.TabIndex  = 1;
     this.c1ThemeController1.SetTheme(this.panel1, "(default)");
     //
     // c1DockingTab1
     //
     this.c1DockingTab1.BackColor   = System.Drawing.Color.White;
     this.c1DockingTab1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.c1DockingTab1.Controls.Add(this.c1DockingTabPage1);
     this.c1DockingTab1.Controls.Add(this.c1DockingTabPage2);
     this.c1DockingTab1.Controls.Add(this.c1DockingTabPage3);
     this.c1DockingTab1.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.c1DockingTab1.HotTrack    = true;
     this.c1DockingTab1.Location    = new System.Drawing.Point(0, 0);
     this.c1DockingTab1.Name        = "c1DockingTab1";
     this.c1DockingTab1.Size        = new System.Drawing.Size(312, 459);
     this.c1DockingTab1.TabIndex    = 0;
     this.c1DockingTab1.TabSizeMode = C1.Win.C1Command.TabSizeModeEnum.Fit;
     this.c1DockingTab1.TabsSpacing = 2;
     this.c1DockingTab1.TabStyle    = C1.Win.C1Command.TabStyleEnum.Office2007;
     this.c1ThemeController1.SetTheme(this.c1DockingTab1, "(default)");
     //
     // c1DockingTabPage1
     //
     this.c1DockingTabPage1.CaptionText = "TreeView";
     this.c1DockingTabPage1.Controls.Add(this.propertyGrid1);
     this.c1DockingTabPage1.Controls.Add(this.label4);
     this.c1DockingTabPage1.Controls.Add(this.nudLevelsCount);
     this.c1DockingTabPage1.Controls.Add(this.label3);
     this.c1DockingTabPage1.Controls.Add(this.label2);
     this.c1DockingTabPage1.Controls.Add(this.label1);
     this.c1DockingTabPage1.Controls.Add(this.nudRootNodesCount);
     this.c1DockingTabPage1.Controls.Add(this.nudNodesCount);
     this.c1DockingTabPage1.Controls.Add(this.nudColumnsCount);
     this.c1DockingTabPage1.Controls.Add(this.btnClearTree);
     this.c1DockingTabPage1.Controls.Add(this.btnGenereteTree);
     this.c1DockingTabPage1.Location = new System.Drawing.Point(1, 24);
     this.c1DockingTabPage1.Name     = "c1DockingTabPage1";
     this.c1DockingTabPage1.Size     = new System.Drawing.Size(310, 434);
     this.c1DockingTabPage1.TabIndex = 0;
     this.c1DockingTabPage1.Text     = "Edit TreeView";
     //
     // propertyGrid1
     //
     this.propertyGrid1.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.propertyGrid1.BackColor                 = System.Drawing.Color.White;
     this.propertyGrid1.CategoryForeColor         = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(169)))), ((int)(((byte)(23)))));
     this.propertyGrid1.CommandsActiveLinkColor   = System.Drawing.Color.IndianRed;
     this.propertyGrid1.CommandsBackColor         = System.Drawing.Color.White;
     this.propertyGrid1.CommandsDisabledLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(133)))), ((int)(((byte)(133)))));
     this.propertyGrid1.CommandsForeColor         = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(169)))), ((int)(((byte)(23)))));
     this.propertyGrid1.CommandsLinkColor         = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(112)))), ((int)(((byte)(159)))));
     this.propertyGrid1.HelpBackColor             = System.Drawing.Color.White;
     this.propertyGrid1.HelpForeColor             = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(169)))), ((int)(((byte)(23)))));
     this.propertyGrid1.LineColor                 = System.Drawing.Color.White;
     this.propertyGrid1.Location       = new System.Drawing.Point(0, 178);
     this.propertyGrid1.Name           = "propertyGrid1";
     this.propertyGrid1.SelectedObject = this.c1TreeView1;
     this.propertyGrid1.Size           = new System.Drawing.Size(310, 256);
     this.propertyGrid1.TabIndex       = 18;
     this.c1ThemeController1.SetTheme(this.propertyGrid1, "(default)");
     this.propertyGrid1.ViewBackColor = System.Drawing.Color.White;
     this.propertyGrid1.ViewForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
     //
     // c1TreeView1
     //
     this.c1TreeView1.AutoSizeElement = C1.Framework.AutoSizeElement.Both;
     this.c1TreeView1.BackColor       = System.Drawing.Color.White;
     c1TreeColumn1.DisplayFieldName   = null;
     c1TreeColumn1.HeaderText         = "Column1";
     c1TreeColumn1.Name = "Column1";
     this.c1TreeView1.Columns.Add(c1TreeColumn1);
     this.c1TreeView1.BindingInfo.DataMember = null;
     this.c1TreeView1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.c1TreeView1.BindingInfo.KeyField = null;
     this.c1TreeView1.Location             = new System.Drawing.Point(0, 0);
     this.c1TreeView1.Name = "c1TreeView1";
     this.c1TreeView1.BindingInfo.ParentKeyField = null;
     this.c1TreeView1.Size     = new System.Drawing.Size(527, 459);
     this.c1TreeView1.TabIndex = 0;
     this.c1ThemeController1.SetTheme(this.c1TreeView1, "(default)");
     this.c1TreeView1.SelectionChanged += new C1.Win.TreeView.C1TreeViewEventHandler(this.c1TreeView1_SelectionChanged);
     //
     // label4
     //
     this.label4.AutoSize  = true;
     this.label4.BackColor = System.Drawing.Color.White;
     this.label4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(169)))), ((int)(((byte)(23)))));
     this.label4.Location  = new System.Drawing.Point(52, 96);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(80, 13);
     this.label4.TabIndex  = 17;
     this.label4.Text      = "Count of levels:";
     this.c1ThemeController1.SetTheme(this.label4, "(default)");
     //
     // nudLevelsCount
     //
     this.nudLevelsCount.BackColor = System.Drawing.Color.White;
     this.nudLevelsCount.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
     this.nudLevelsCount.Location  = new System.Drawing.Point(138, 94);
     this.nudLevelsCount.Name      = "nudLevelsCount";
     this.nudLevelsCount.Size      = new System.Drawing.Size(81, 20);
     this.nudLevelsCount.TabIndex  = 16;
     this.c1ThemeController1.SetTheme(this.nudLevelsCount, "(default)");
     this.nudLevelsCount.Value = new decimal(new int[] {
         100,
         0,
         0,
         0
     });
     //
     // label3
     //
     this.label3.AutoSize  = true;
     this.label3.BackColor = System.Drawing.Color.White;
     this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(169)))), ((int)(((byte)(23)))));
     this.label3.Location  = new System.Drawing.Point(48, 70);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(84, 13);
     this.label3.TabIndex  = 15;
     this.label3.Text      = "Count of Nodes:";
     this.c1ThemeController1.SetTheme(this.label3, "(default)");
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.BackColor = System.Drawing.Color.White;
     this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(169)))), ((int)(((byte)(23)))));
     this.label2.Location  = new System.Drawing.Point(25, 44);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(107, 13);
     this.label2.TabIndex  = 14;
     this.label2.Text      = "Count of RootNodes:";
     this.c1ThemeController1.SetTheme(this.label2, "(default)");
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.BackColor = System.Drawing.Color.White;
     this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(169)))), ((int)(((byte)(23)))));
     this.label1.Location  = new System.Drawing.Point(40, 18);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(92, 13);
     this.label1.TabIndex  = 13;
     this.label1.Text      = "Count of columns:";
     this.c1ThemeController1.SetTheme(this.label1, "(default)");
     //
     // nudRootNodesCount
     //
     this.nudRootNodesCount.BackColor = System.Drawing.Color.White;
     this.nudRootNodesCount.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
     this.nudRootNodesCount.Location  = new System.Drawing.Point(138, 42);
     this.nudRootNodesCount.Name      = "nudRootNodesCount";
     this.nudRootNodesCount.Size      = new System.Drawing.Size(81, 20);
     this.nudRootNodesCount.TabIndex  = 12;
     this.c1ThemeController1.SetTheme(this.nudRootNodesCount, "(default)");
     this.nudRootNodesCount.Value = new decimal(new int[] {
         5,
         0,
         0,
         0
     });
     //
     // nudNodesCount
     //
     this.nudNodesCount.BackColor = System.Drawing.Color.White;
     this.nudNodesCount.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
     this.nudNodesCount.Location  = new System.Drawing.Point(138, 68);
     this.nudNodesCount.Name      = "nudNodesCount";
     this.nudNodesCount.Size      = new System.Drawing.Size(81, 20);
     this.nudNodesCount.TabIndex  = 11;
     this.c1ThemeController1.SetTheme(this.nudNodesCount, "(default)");
     this.nudNodesCount.Value = new decimal(new int[] {
         5,
         0,
         0,
         0
     });
     //
     // nudColumnsCount
     //
     this.nudColumnsCount.BackColor = System.Drawing.Color.White;
     this.nudColumnsCount.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
     this.nudColumnsCount.Location  = new System.Drawing.Point(138, 16);
     this.nudColumnsCount.Name      = "nudColumnsCount";
     this.nudColumnsCount.Size      = new System.Drawing.Size(81, 20);
     this.nudColumnsCount.TabIndex  = 10;
     this.c1ThemeController1.SetTheme(this.nudColumnsCount, "(default)");
     this.nudColumnsCount.Value = new decimal(new int[] {
         3,
         0,
         0,
         0
     });
     //
     // btnClearTree
     //
     this.btnClearTree.Location = new System.Drawing.Point(169, 127);
     this.btnClearTree.Name     = "btnClearTree";
     this.btnClearTree.Size     = new System.Drawing.Size(121, 35);
     this.btnClearTree.TabIndex = 4;
     this.btnClearTree.Text     = "Clear Tree";
     this.c1ThemeController1.SetTheme(this.btnClearTree, "(default)");
     this.btnClearTree.UseVisualStyleBackColor = true;
     this.btnClearTree.VisualStyleBaseStyle    = C1.Win.C1Input.VisualStyle.Office2010Blue;
     this.btnClearTree.Click += new System.EventHandler(this.btnClearTree_Click);
     //
     // btnGenereteTree
     //
     this.btnGenereteTree.Location = new System.Drawing.Point(28, 127);
     this.btnGenereteTree.Name     = "btnGenereteTree";
     this.btnGenereteTree.Size     = new System.Drawing.Size(124, 35);
     this.btnGenereteTree.TabIndex = 3;
     this.btnGenereteTree.Text     = "Generate Tree";
     this.c1ThemeController1.SetTheme(this.btnGenereteTree, "(default)");
     this.btnGenereteTree.UseVisualStyleBackColor = true;
     this.btnGenereteTree.VisualStyleBaseStyle    = C1.Win.C1Input.VisualStyle.Office2010Blue;
     this.btnGenereteTree.Click += new System.EventHandler(this.btnGenerateTree_Click);
     //
     // c1DockingTabPage2
     //
     this.c1DockingTabPage2.Controls.Add(this.pgColumn);
     this.c1DockingTabPage2.Controls.Add(this.cmbSelectedColumn);
     this.c1DockingTabPage2.Controls.Add(this.c1Label1);
     this.c1DockingTabPage2.Controls.Add(this.btnAddNewColumn);
     this.c1DockingTabPage2.Controls.Add(this.btnRemoveColumn);
     this.c1DockingTabPage2.Location = new System.Drawing.Point(1, 24);
     this.c1DockingTabPage2.Name     = "c1DockingTabPage2";
     this.c1DockingTabPage2.Size     = new System.Drawing.Size(310, 434);
     this.c1DockingTabPage2.TabIndex = 1;
     this.c1DockingTabPage2.Text     = "Columns";
     //
     // pgColumn
     //
     this.pgColumn.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.pgColumn.BackColor                 = System.Drawing.Color.White;
     this.pgColumn.CategoryForeColor         = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(169)))), ((int)(((byte)(23)))));
     this.pgColumn.CommandsActiveLinkColor   = System.Drawing.Color.IndianRed;
     this.pgColumn.CommandsBackColor         = System.Drawing.Color.White;
     this.pgColumn.CommandsDisabledLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(133)))), ((int)(((byte)(133)))));
     this.pgColumn.CommandsForeColor         = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(169)))), ((int)(((byte)(23)))));
     this.pgColumn.CommandsLinkColor         = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(112)))), ((int)(((byte)(159)))));
     this.pgColumn.HelpBackColor             = System.Drawing.Color.White;
     this.pgColumn.HelpForeColor             = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(169)))), ((int)(((byte)(23)))));
     this.pgColumn.LineColor                 = System.Drawing.Color.White;
     this.pgColumn.Location = new System.Drawing.Point(13, 99);
     this.pgColumn.Name     = "pgColumn";
     this.pgColumn.Size     = new System.Drawing.Size(285, 324);
     this.pgColumn.TabIndex = 4;
     this.c1ThemeController1.SetTheme(this.pgColumn, "(default)");
     this.pgColumn.ViewBackColor = System.Drawing.Color.White;
     this.pgColumn.ViewForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
     //
     // cmbSelectedColumn
     //
     this.cmbSelectedColumn.AllowSpinLoop      = false;
     this.cmbSelectedColumn.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(212)))), ((int)(((byte)(212)))));
     this.cmbSelectedColumn.BorderStyle        = System.Windows.Forms.BorderStyle.FixedSingle;
     this.cmbSelectedColumn.DisabledForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(152)))), ((int)(((byte)(152)))), ((int)(((byte)(152)))));
     this.cmbSelectedColumn.GapHeight          = 0;
     this.cmbSelectedColumn.ImagePadding       = new System.Windows.Forms.Padding(0);
     this.cmbSelectedColumn.ItemsDisplayMember = "";
     this.cmbSelectedColumn.ItemsValueMember   = "";
     this.cmbSelectedColumn.Location           = new System.Drawing.Point(150, 75);
     this.cmbSelectedColumn.Name = "cmbSelectedColumn";
     this.cmbSelectedColumn.Size = new System.Drawing.Size(136, 18);
     this.cmbSelectedColumn.Style.DropDownBackColor   = System.Drawing.Color.White;
     this.cmbSelectedColumn.Style.DropDownBorderColor = System.Drawing.Color.Gainsboro;
     this.cmbSelectedColumn.Style.Font   = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cmbSelectedColumn.TabIndex     = 3;
     this.cmbSelectedColumn.Tag          = null;
     this.cmbSelectedColumn.TextDetached = true;
     this.c1ThemeController1.SetTheme(this.cmbSelectedColumn, "(default)");
     this.cmbSelectedColumn.VisualStyleBaseStyle  = C1.Win.C1Input.VisualStyle.Office2010Blue;
     this.cmbSelectedColumn.SelectedIndexChanged += new System.EventHandler(this.cmbSelectedColumn_SelectedIndexChanged);
     //
     // c1Label1
     //
     this.c1Label1.AutoSize     = true;
     this.c1Label1.BackColor    = System.Drawing.Color.Transparent;
     this.c1Label1.BorderColor  = System.Drawing.Color.Transparent;
     this.c1Label1.BorderStyle  = System.Windows.Forms.BorderStyle.None;
     this.c1Label1.ForeColor    = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
     this.c1Label1.Location     = new System.Drawing.Point(63, 77);
     this.c1Label1.Name         = "c1Label1";
     this.c1Label1.Size         = new System.Drawing.Size(81, 13);
     this.c1Label1.TabIndex     = 2;
     this.c1Label1.Tag          = null;
     this.c1Label1.Text         = "Current column:";
     this.c1Label1.TextDetached = true;
     this.c1ThemeController1.SetTheme(this.c1Label1, "(default)");
     //
     // btnAddNewColumn
     //
     this.btnAddNewColumn.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnAddNewColumn.Location = new System.Drawing.Point(13, 19);
     this.btnAddNewColumn.Name     = "btnAddNewColumn";
     this.btnAddNewColumn.Size     = new System.Drawing.Size(115, 46);
     this.btnAddNewColumn.TabIndex = 1;
     this.btnAddNewColumn.Text     = "Add column";
     this.c1ThemeController1.SetTheme(this.btnAddNewColumn, "(default)");
     this.btnAddNewColumn.UseVisualStyleBackColor = true;
     this.btnAddNewColumn.VisualStyleBaseStyle    = C1.Win.C1Input.VisualStyle.Office2010Blue;
     this.btnAddNewColumn.Click += new System.EventHandler(this.btnAddNewColumn_Click);
     //
     // btnRemoveColumn
     //
     this.btnRemoveColumn.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnRemoveColumn.Location = new System.Drawing.Point(150, 19);
     this.btnRemoveColumn.Name     = "btnRemoveColumn";
     this.btnRemoveColumn.Size     = new System.Drawing.Size(115, 46);
     this.btnRemoveColumn.TabIndex = 0;
     this.btnRemoveColumn.Text     = "Remove column";
     this.c1ThemeController1.SetTheme(this.btnRemoveColumn, "(default)");
     this.btnRemoveColumn.UseVisualStyleBackColor = true;
     this.btnRemoveColumn.VisualStyleBaseStyle    = C1.Win.C1Input.VisualStyle.Office2010Blue;
     this.btnRemoveColumn.Click += new System.EventHandler(this.btnRemoveColumn_Click);
     //
     // c1DockingTabPage3
     //
     this.c1DockingTabPage3.Controls.Add(this.pgNode);
     this.c1DockingTabPage3.Controls.Add(this.btnRemoveSelectedNodes);
     this.c1DockingTabPage3.Location = new System.Drawing.Point(1, 24);
     this.c1DockingTabPage3.Name     = "c1DockingTabPage3";
     this.c1DockingTabPage3.Size     = new System.Drawing.Size(310, 434);
     this.c1DockingTabPage3.TabIndex = 2;
     this.c1DockingTabPage3.Text     = "Nodes";
     //
     // pgNode
     //
     this.pgNode.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.pgNode.BackColor                 = System.Drawing.Color.White;
     this.pgNode.CategoryForeColor         = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(169)))), ((int)(((byte)(23)))));
     this.pgNode.CommandsActiveLinkColor   = System.Drawing.Color.IndianRed;
     this.pgNode.CommandsBackColor         = System.Drawing.Color.White;
     this.pgNode.CommandsDisabledLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(133)))), ((int)(((byte)(133)))));
     this.pgNode.CommandsForeColor         = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(169)))), ((int)(((byte)(23)))));
     this.pgNode.CommandsLinkColor         = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(112)))), ((int)(((byte)(159)))));
     this.pgNode.HelpBackColor             = System.Drawing.Color.White;
     this.pgNode.HelpForeColor             = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(169)))), ((int)(((byte)(23)))));
     this.pgNode.LineColor                 = System.Drawing.Color.White;
     this.pgNode.Location = new System.Drawing.Point(0, 82);
     this.pgNode.Name     = "pgNode";
     this.pgNode.Size     = new System.Drawing.Size(310, 352);
     this.pgNode.TabIndex = 0;
     this.c1ThemeController1.SetTheme(this.pgNode, "(default)");
     this.pgNode.ViewBackColor = System.Drawing.Color.White;
     this.pgNode.ViewForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
     //
     // btnRemoveSelectedNodes
     //
     this.btnRemoveSelectedNodes.Location = new System.Drawing.Point(64, 20);
     this.btnRemoveSelectedNodes.Name     = "btnRemoveSelectedNodes";
     this.btnRemoveSelectedNodes.Size     = new System.Drawing.Size(179, 47);
     this.btnRemoveSelectedNodes.TabIndex = 1;
     this.btnRemoveSelectedNodes.Text     = "Remove selected nodes";
     this.c1ThemeController1.SetTheme(this.btnRemoveSelectedNodes, "(default)");
     this.btnRemoveSelectedNodes.UseVisualStyleBackColor = true;
     this.btnRemoveSelectedNodes.VisualStyleBaseStyle    = C1.Win.C1Input.VisualStyle.Office2010Blue;
     this.btnRemoveSelectedNodes.Click += new System.EventHandler(this.btnRemoveSelectedNodes_Click);
     //
     // panel2
     //
     this.panel2.BackColor = System.Drawing.Color.White;
     this.panel2.Controls.Add(this.c1TreeView1);
     this.panel2.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.panel2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(169)))), ((int)(((byte)(23)))));
     this.panel2.Location  = new System.Drawing.Point(0, 0);
     this.panel2.Name      = "panel2";
     this.panel2.Size      = new System.Drawing.Size(527, 459);
     this.panel2.TabIndex  = 2;
     this.c1ThemeController1.SetTheme(this.panel2, "(default)");
     //
     // splitContainer1
     //
     this.splitContainer1.BackColor = System.Drawing.Color.White;
     this.splitContainer1.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(169)))), ((int)(((byte)(23)))));
     this.splitContainer1.Location  = new System.Drawing.Point(0, 0);
     this.splitContainer1.Name      = "splitContainer1";
     //
     // splitContainer1.Panel1
     //
     this.splitContainer1.Panel1.Controls.Add(this.panel2);
     this.splitContainer1.Panel1.RightToLeft = System.Windows.Forms.RightToLeft.No;
     //
     // splitContainer1.Panel2
     //
     this.splitContainer1.Panel2.Controls.Add(this.panel1);
     this.splitContainer1.Panel2.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.splitContainer1.Size             = new System.Drawing.Size(843, 459);
     this.splitContainer1.SplitterDistance = 527;
     this.splitContainer1.TabIndex         = 1;
     this.c1ThemeController1.SetTheme(this.splitContainer1, "(default)");
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(843, 459);
     this.Controls.Add(this.splitContainer1);
     this.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(80)))), ((int)(((byte)(239)))));
     this.Name      = "Form1";
     this.Text      = "UnboundMode";
     this.c1ThemeController1.SetTheme(this, "(default)");
     ((System.ComponentModel.ISupportInitialize)(this.c1ThemeController1)).EndInit();
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.c1DockingTab1)).EndInit();
     this.c1DockingTab1.ResumeLayout(false);
     this.c1DockingTabPage1.ResumeLayout(false);
     this.c1DockingTabPage1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.c1TreeView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.nudLevelsCount)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.nudRootNodesCount)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.nudNodesCount)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.nudColumnsCount)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnClearTree)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnGenereteTree)).EndInit();
     this.c1DockingTabPage2.ResumeLayout(false);
     this.c1DockingTabPage2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cmbSelectedColumn)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.c1Label1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnAddNewColumn)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnRemoveColumn)).EndInit();
     this.c1DockingTabPage3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.btnRemoveSelectedNodes)).EndInit();
     this.panel2.ResumeLayout(false);
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
     this.splitContainer1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #11
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     C1.Win.TreeView.C1TreeColumn c1TreeColumn7 = new C1.Win.TreeView.C1TreeColumn();
     C1.Win.TreeView.C1TreeColumn c1TreeColumn8 = new C1.Win.TreeView.C1TreeColumn();
     this.c1TreeView1  = new C1.Win.TreeView.C1TreeView();
     this.c1TreeView2  = new C1.Win.TreeView.C1TreeView();
     this.richTextBox1 = new System.Windows.Forms.RichTextBox();
     ((System.ComponentModel.ISupportInitialize)(this.c1TreeView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.c1TreeView2)).BeginInit();
     this.SuspendLayout();
     //
     // c1TreeView1
     //
     c1TreeColumn7.DisplayFieldName = null;
     c1TreeColumn7.HeaderText       = "Column1";
     c1TreeColumn7.Name             = "Column1";
     this.c1TreeView1.Columns.Add(c1TreeColumn7);
     this.c1TreeView1.BindingInfo.DataMember = null;
     this.c1TreeView1.BindingInfo.KeyField   = null;
     this.c1TreeView1.Location = new System.Drawing.Point(12, 12);
     this.c1TreeView1.Name     = "c1TreeView1";
     this.c1TreeView1.BindingInfo.ParentKeyField = null;
     this.c1TreeView1.Size     = new System.Drawing.Size(258, 255);
     this.c1TreeView1.TabIndex = 0;
     //
     // c1TreeView2
     //
     c1TreeColumn8.DisplayFieldName = null;
     c1TreeColumn8.HeaderText       = "Column1";
     c1TreeColumn8.Name             = "Column1";
     this.c1TreeView2.Columns.Add(c1TreeColumn8);
     this.c1TreeView2.BindingInfo.DataMember = null;
     this.c1TreeView2.BindingInfo.KeyField   = null;
     this.c1TreeView2.Location = new System.Drawing.Point(302, 12);
     this.c1TreeView2.Name     = "c1TreeView2";
     this.c1TreeView2.BindingInfo.ParentKeyField = null;
     this.c1TreeView2.Size     = new System.Drawing.Size(263, 255);
     this.c1TreeView2.TabIndex = 1;
     //
     // richTextBox1
     //
     this.richTextBox1.EnableAutoDragDrop = true;
     this.richTextBox1.Location           = new System.Drawing.Point(12, 286);
     this.richTextBox1.Name     = "richTextBox1";
     this.richTextBox1.Size     = new System.Drawing.Size(553, 96);
     this.richTextBox1.TabIndex = 2;
     this.richTextBox1.Text     = "";
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(582, 400);
     this.Controls.Add(this.richTextBox1);
     this.Controls.Add(this.c1TreeView2);
     this.Controls.Add(this.c1TreeView1);
     this.Name  = "Form1";
     this.Text  = "Form1";
     this.Load += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.c1TreeView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.c1TreeView2)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #12
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     C1.Win.TreeView.C1TreeColumn c1TreeColumn1 = new C1.Win.TreeView.C1TreeColumn();
     this.c1ThemeController1     = new C1.Win.Themes.C1ThemeController();
     this.panel1                 = new System.Windows.Forms.Panel();
     this.c1DockingTab1          = new C1.Win.Command.C1DockingTab();
     this.c1DockingTabPage1      = new C1.Win.Command.C1DockingTabPage();
     this.propertyGrid1          = new System.Windows.Forms.PropertyGrid();
     this.c1TreeView1            = new C1.Win.TreeView.C1TreeView();
     this.panel3                 = new System.Windows.Forms.Panel();
     this.nudRootNodesCount      = new System.Windows.Forms.NumericUpDown();
     this.label4                 = new System.Windows.Forms.Label();
     this.btnGenereteTree        = new C1.Win.Input.C1Button();
     this.nudLevelsCount         = new System.Windows.Forms.NumericUpDown();
     this.btnClearTree           = new C1.Win.Input.C1Button();
     this.label3                 = new System.Windows.Forms.Label();
     this.nudColumnsCount        = new System.Windows.Forms.NumericUpDown();
     this.label2                 = new System.Windows.Forms.Label();
     this.nudNodesCount          = new System.Windows.Forms.NumericUpDown();
     this.label1                 = new System.Windows.Forms.Label();
     this.c1DockingTabPage2      = new C1.Win.Command.C1DockingTabPage();
     this.pgColumn               = new System.Windows.Forms.PropertyGrid();
     this.panel4                 = new System.Windows.Forms.Panel();
     this.btnAddNewColumn        = new C1.Win.Input.C1Button();
     this.cmbSelectedColumn      = new C1.Win.Input.C1ComboBox();
     this.btnRemoveColumn        = new C1.Win.Input.C1Button();
     this.c1Label1               = new C1.Win.Input.C1Label();
     this.c1DockingTabPage3      = new C1.Win.Command.C1DockingTabPage();
     this.pgNode                 = new System.Windows.Forms.PropertyGrid();
     this.panel5                 = new System.Windows.Forms.Panel();
     this.btnRemoveSelectedNodes = new C1.Win.Input.C1Button();
     this.panel2                 = new System.Windows.Forms.Panel();
     this.splitContainer1        = new System.Windows.Forms.SplitContainer();
     ((System.ComponentModel.ISupportInitialize)(this.c1ThemeController1)).BeginInit();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.c1DockingTab1)).BeginInit();
     this.c1DockingTab1.SuspendLayout();
     this.c1DockingTabPage1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.c1TreeView1)).BeginInit();
     this.panel3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.nudRootNodesCount)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.nudLevelsCount)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.nudColumnsCount)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.nudNodesCount)).BeginInit();
     this.c1DockingTabPage2.SuspendLayout();
     this.panel4.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cmbSelectedColumn)).BeginInit();
     this.c1DockingTabPage3.SuspendLayout();
     this.panel5.SuspendLayout();
     this.panel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.SuspendLayout();
     //
     // c1ThemeController1
     //
     this.c1ThemeController1.Theme = "GreenHouse";
     //
     // panel1
     //
     this.panel1.Controls.Add(this.c1DockingTab1);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Margin   = new System.Windows.Forms.Padding(4);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(364, 600);
     this.panel1.TabIndex = 1;
     this.c1ThemeController1.SetTheme(this.panel1, "(default)");
     //
     // c1DockingTab1
     //
     this.c1DockingTab1.Controls.Add(this.c1DockingTabPage1);
     this.c1DockingTab1.Controls.Add(this.c1DockingTabPage2);
     this.c1DockingTab1.Controls.Add(this.c1DockingTabPage3);
     this.c1DockingTab1.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.c1DockingTab1.HotTrack    = true;
     this.c1DockingTab1.Location    = new System.Drawing.Point(0, 0);
     this.c1DockingTab1.Margin      = new System.Windows.Forms.Padding(4);
     this.c1DockingTab1.Name        = "c1DockingTab1";
     this.c1DockingTab1.Size        = new System.Drawing.Size(364, 600);
     this.c1DockingTab1.TabIndex    = 0;
     this.c1DockingTab1.TabSizeMode = C1.Win.Command.TabSizeModeEnum.Fit;
     this.c1DockingTab1.TabsSpacing = 2;
     this.c1ThemeController1.SetTheme(this.c1DockingTab1, "(default)");
     //
     // c1DockingTabPage1
     //
     this.c1DockingTabPage1.CaptionText = "TreeView";
     this.c1DockingTabPage1.Controls.Add(this.propertyGrid1);
     this.c1DockingTabPage1.Controls.Add(this.panel3);
     this.c1DockingTabPage1.Location = new System.Drawing.Point(1, 29);
     this.c1DockingTabPage1.Name     = "c1DockingTabPage1";
     this.c1DockingTabPage1.Size     = new System.Drawing.Size(362, 570);
     this.c1DockingTabPage1.TabIndex = 0;
     this.c1DockingTabPage1.Text     = "Edit TreeView";
     //
     // propertyGrid1
     //
     this.propertyGrid1.Dock           = System.Windows.Forms.DockStyle.Fill;
     this.propertyGrid1.Location       = new System.Drawing.Point(0, 197);
     this.propertyGrid1.Margin         = new System.Windows.Forms.Padding(4);
     this.propertyGrid1.Name           = "propertyGrid1";
     this.propertyGrid1.SelectedObject = this.c1TreeView1;
     this.propertyGrid1.Size           = new System.Drawing.Size(362, 373);
     this.propertyGrid1.TabIndex       = 18;
     this.c1ThemeController1.SetTheme(this.propertyGrid1, "(default)");
     //
     // c1TreeView1
     //
     this.c1TreeView1.BackColor = System.Drawing.SystemColors.Control;
     this.c1TreeView1.BindingInfo.DataMember     = null;
     this.c1TreeView1.BindingInfo.KeyField       = null;
     this.c1TreeView1.BindingInfo.ParentKeyField = null;
     //
     //
     //
     this.c1TreeView1.ButtonImageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.c1TreeView1.ButtonImageList.ImageSize  = new System.Drawing.Size(16, 16);
     //
     //
     //
     this.c1TreeView1.CheckImageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.c1TreeView1.CheckImageList.ImageSize  = new System.Drawing.Size(16, 16);
     c1TreeColumn1.DisplayFieldName             = null;
     c1TreeColumn1.HeaderText = "Column1";
     c1TreeColumn1.Name       = "Column1";
     this.c1TreeView1.Columns.Add(c1TreeColumn1);
     this.c1TreeView1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.c1TreeView1.Location = new System.Drawing.Point(0, 0);
     this.c1TreeView1.Name     = "c1TreeView1";
     this.c1TreeView1.Size     = new System.Drawing.Size(614, 600);
     this.c1TreeView1.TabIndex = 0;
     this.c1ThemeController1.SetTheme(this.c1TreeView1, "(default)");
     this.c1TreeView1.SelectionChanged += new C1.Win.TreeView.C1TreeViewEventHandler(this.c1TreeView1_SelectionChanged);
     //
     // panel3
     //
     this.panel3.Controls.Add(this.nudRootNodesCount);
     this.panel3.Controls.Add(this.label4);
     this.panel3.Controls.Add(this.btnGenereteTree);
     this.panel3.Controls.Add(this.nudLevelsCount);
     this.panel3.Controls.Add(this.btnClearTree);
     this.panel3.Controls.Add(this.label3);
     this.panel3.Controls.Add(this.nudColumnsCount);
     this.panel3.Controls.Add(this.label2);
     this.panel3.Controls.Add(this.nudNodesCount);
     this.panel3.Controls.Add(this.label1);
     this.panel3.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel3.Location = new System.Drawing.Point(0, 0);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(362, 197);
     this.panel3.TabIndex = 1;
     //
     // nudRootNodesCount
     //
     this.nudRootNodesCount.Location = new System.Drawing.Point(133, 46);
     this.nudRootNodesCount.Margin   = new System.Windows.Forms.Padding(4);
     this.nudRootNodesCount.Name     = "nudRootNodesCount";
     this.nudRootNodesCount.Size     = new System.Drawing.Size(94, 25);
     this.nudRootNodesCount.TabIndex = 12;
     this.c1ThemeController1.SetTheme(this.nudRootNodesCount, "(default)");
     this.nudRootNodesCount.Value = new decimal(new int[] {
         5,
         0,
         0,
         0
     });
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(33, 117);
     this.label4.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(97, 17);
     this.label4.TabIndex = 17;
     this.label4.Text     = "Count of levels:";
     this.c1ThemeController1.SetTheme(this.label4, "(default)");
     //
     // btnGenereteTree
     //
     this.btnGenereteTree.Location = new System.Drawing.Point(9, 157);
     this.btnGenereteTree.Name     = "btnGenereteTree";
     this.btnGenereteTree.Size     = new System.Drawing.Size(121, 27);
     this.btnGenereteTree.TabIndex = 3;
     this.btnGenereteTree.Text     = "Generate Tree";
     this.c1ThemeController1.SetTheme(this.btnGenereteTree, "(default)");
     this.btnGenereteTree.Click += new System.EventHandler(this.btnGenerateTree_Click);
     //
     // nudLevelsCount
     //
     this.nudLevelsCount.Location = new System.Drawing.Point(133, 114);
     this.nudLevelsCount.Margin   = new System.Windows.Forms.Padding(4);
     this.nudLevelsCount.Name     = "nudLevelsCount";
     this.nudLevelsCount.Size     = new System.Drawing.Size(94, 25);
     this.nudLevelsCount.TabIndex = 16;
     this.c1ThemeController1.SetTheme(this.nudLevelsCount, "(default)");
     this.nudLevelsCount.Value = new decimal(new int[] {
         100,
         0,
         0,
         0
     });
     //
     // btnClearTree
     //
     this.btnClearTree.Location = new System.Drawing.Point(141, 157);
     this.btnClearTree.Name     = "btnClearTree";
     this.btnClearTree.Size     = new System.Drawing.Size(86, 27);
     this.btnClearTree.TabIndex = 4;
     this.btnClearTree.Text     = "Clear Tree";
     this.c1ThemeController1.SetTheme(this.btnClearTree, "(default)");
     this.btnClearTree.Click += new System.EventHandler(this.btnClearTree_Click);
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(28, 83);
     this.label3.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(104, 17);
     this.label3.TabIndex = 15;
     this.label3.Text     = "Count of Nodes:";
     this.c1ThemeController1.SetTheme(this.label3, "(default)");
     //
     // nudColumnsCount
     //
     this.nudColumnsCount.Location = new System.Drawing.Point(133, 12);
     this.nudColumnsCount.Margin   = new System.Windows.Forms.Padding(4);
     this.nudColumnsCount.Name     = "nudColumnsCount";
     this.nudColumnsCount.Size     = new System.Drawing.Size(94, 25);
     this.nudColumnsCount.TabIndex = 10;
     this.c1ThemeController1.SetTheme(this.nudColumnsCount, "(default)");
     this.nudColumnsCount.Value = new decimal(new int[] {
         3,
         0,
         0,
         0
     });
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(1, 49);
     this.label2.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(132, 17);
     this.label2.TabIndex = 14;
     this.label2.Text     = "Count of RootNodes:";
     this.c1ThemeController1.SetTheme(this.label2, "(default)");
     //
     // nudNodesCount
     //
     this.nudNodesCount.Location = new System.Drawing.Point(133, 80);
     this.nudNodesCount.Margin   = new System.Windows.Forms.Padding(4);
     this.nudNodesCount.Name     = "nudNodesCount";
     this.nudNodesCount.Size     = new System.Drawing.Size(94, 25);
     this.nudNodesCount.TabIndex = 11;
     this.c1ThemeController1.SetTheme(this.nudNodesCount, "(default)");
     this.nudNodesCount.Value = new decimal(new int[] {
         5,
         0,
         0,
         0
     });
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(19, 15);
     this.label1.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(113, 17);
     this.label1.TabIndex = 13;
     this.label1.Text     = "Count of columns:";
     this.c1ThemeController1.SetTheme(this.label1, "(default)");
     //
     // c1DockingTabPage2
     //
     this.c1DockingTabPage2.Controls.Add(this.pgColumn);
     this.c1DockingTabPage2.Controls.Add(this.panel4);
     this.c1DockingTabPage2.Location = new System.Drawing.Point(1, 29);
     this.c1DockingTabPage2.Name     = "c1DockingTabPage2";
     this.c1DockingTabPage2.Size     = new System.Drawing.Size(362, 570);
     this.c1DockingTabPage2.TabIndex = 1;
     this.c1DockingTabPage2.Text     = "Columns";
     //
     // pgColumn
     //
     this.pgColumn.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.pgColumn.Location = new System.Drawing.Point(0, 95);
     this.pgColumn.Margin   = new System.Windows.Forms.Padding(4);
     this.pgColumn.Name     = "pgColumn";
     this.pgColumn.Size     = new System.Drawing.Size(362, 475);
     this.pgColumn.TabIndex = 4;
     this.c1ThemeController1.SetTheme(this.pgColumn, "(default)");
     //
     // panel4
     //
     this.panel4.Controls.Add(this.btnAddNewColumn);
     this.panel4.Controls.Add(this.cmbSelectedColumn);
     this.panel4.Controls.Add(this.btnRemoveColumn);
     this.panel4.Controls.Add(this.c1Label1);
     this.panel4.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel4.Location = new System.Drawing.Point(0, 0);
     this.panel4.Name     = "panel4";
     this.panel4.Size     = new System.Drawing.Size(362, 95);
     this.panel4.TabIndex = 1;
     //
     // btnAddNewColumn
     //
     this.btnAddNewColumn.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
     this.btnAddNewColumn.Location = new System.Drawing.Point(9, 16);
     this.btnAddNewColumn.Name     = "btnAddNewColumn";
     this.btnAddNewColumn.Size     = new System.Drawing.Size(107, 25);
     this.btnAddNewColumn.TabIndex = 1;
     this.btnAddNewColumn.Text     = "Add column";
     this.c1ThemeController1.SetTheme(this.btnAddNewColumn, "(default)");
     this.btnAddNewColumn.Click += new System.EventHandler(this.btnAddNewColumn_Click);
     //
     // cmbSelectedColumn
     //
     this.cmbSelectedColumn.Location = new System.Drawing.Point(122, 56);
     this.cmbSelectedColumn.Name     = "cmbSelectedColumn";
     this.cmbSelectedColumn.Size     = new System.Drawing.Size(134, 24);
     this.cmbSelectedColumn.TabIndex = 3;
     this.c1ThemeController1.SetTheme(this.cmbSelectedColumn, "(default)");
     this.cmbSelectedColumn.SelectedIndexChanged += new System.EventHandler(this.cmbSelectedColumn_SelectedIndexChanged);
     //
     // btnRemoveColumn
     //
     this.btnRemoveColumn.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
     this.btnRemoveColumn.Location = new System.Drawing.Point(122, 16);
     this.btnRemoveColumn.Name     = "btnRemoveColumn";
     this.btnRemoveColumn.Size     = new System.Drawing.Size(134, 25);
     this.btnRemoveColumn.TabIndex = 0;
     this.btnRemoveColumn.Text     = "Remove column";
     this.c1ThemeController1.SetTheme(this.btnRemoveColumn, "(default)");
     this.btnRemoveColumn.Click += new System.EventHandler(this.btnRemoveColumn_Click);
     //
     // c1Label1
     //
     this.c1Label1.AutoSize  = true;
     this.c1Label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
     this.c1Label1.Location  = new System.Drawing.Point(9, 56);
     this.c1Label1.Name      = "c1Label1";
     this.c1Label1.Size      = new System.Drawing.Size(107, 23);
     this.c1Label1.TabIndex  = 2;
     this.c1Label1.Text      = "Current column:";
     this.c1ThemeController1.SetTheme(this.c1Label1, "(default)");
     //
     // c1DockingTabPage3
     //
     this.c1DockingTabPage3.Controls.Add(this.pgNode);
     this.c1DockingTabPage3.Controls.Add(this.panel5);
     this.c1DockingTabPage3.Location = new System.Drawing.Point(1, 29);
     this.c1DockingTabPage3.Name     = "c1DockingTabPage3";
     this.c1DockingTabPage3.Size     = new System.Drawing.Size(362, 570);
     this.c1DockingTabPage3.TabIndex = 2;
     this.c1DockingTabPage3.Text     = "Nodes";
     //
     // pgNode
     //
     this.pgNode.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.pgNode.Location = new System.Drawing.Point(0, 54);
     this.pgNode.Margin   = new System.Windows.Forms.Padding(4);
     this.pgNode.Name     = "pgNode";
     this.pgNode.Size     = new System.Drawing.Size(362, 516);
     this.pgNode.TabIndex = 0;
     this.c1ThemeController1.SetTheme(this.pgNode, "(default)");
     //
     // panel5
     //
     this.panel5.Controls.Add(this.btnRemoveSelectedNodes);
     this.panel5.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel5.Location = new System.Drawing.Point(0, 0);
     this.panel5.Name     = "panel5";
     this.panel5.Size     = new System.Drawing.Size(362, 54);
     this.panel5.TabIndex = 1;
     //
     // btnRemoveSelectedNodes
     //
     this.btnRemoveSelectedNodes.Location = new System.Drawing.Point(13, 14);
     this.btnRemoveSelectedNodes.Name     = "btnRemoveSelectedNodes";
     this.btnRemoveSelectedNodes.Size     = new System.Drawing.Size(161, 29);
     this.btnRemoveSelectedNodes.TabIndex = 1;
     this.btnRemoveSelectedNodes.Text     = "Remove selected nodes";
     this.c1ThemeController1.SetTheme(this.btnRemoveSelectedNodes, "(default)");
     this.btnRemoveSelectedNodes.Click += new System.EventHandler(this.btnRemoveSelectedNodes_Click);
     //
     // panel2
     //
     this.panel2.Controls.Add(this.c1TreeView1);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel2.Location = new System.Drawing.Point(0, 0);
     this.panel2.Margin   = new System.Windows.Forms.Padding(4);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(614, 600);
     this.panel2.TabIndex = 2;
     this.c1ThemeController1.SetTheme(this.panel2, "(default)");
     //
     // splitContainer1
     //
     this.splitContainer1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer1.Location = new System.Drawing.Point(0, 0);
     this.splitContainer1.Margin   = new System.Windows.Forms.Padding(4);
     this.splitContainer1.Name     = "splitContainer1";
     //
     // splitContainer1.Panel1
     //
     this.splitContainer1.Panel1.Controls.Add(this.panel2);
     this.splitContainer1.Panel1.RightToLeft = System.Windows.Forms.RightToLeft.No;
     //
     // splitContainer1.Panel2
     //
     this.splitContainer1.Panel2.Controls.Add(this.panel1);
     this.splitContainer1.Panel2.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.splitContainer1.Size             = new System.Drawing.Size(983, 600);
     this.splitContainer1.SplitterDistance = 614;
     this.splitContainer1.SplitterWidth    = 5;
     this.splitContainer1.TabIndex         = 1;
     this.c1ThemeController1.SetTheme(this.splitContainer1, "(default)");
     //
     // UnboundMode
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.splitContainer1);
     this.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(80)))), ((int)(((byte)(239)))));
     this.Margin    = new System.Windows.Forms.Padding(4);
     this.Name      = "UnboundMode";
     this.Size      = new System.Drawing.Size(983, 600);
     this.c1ThemeController1.SetTheme(this, "(default)");
     ((System.ComponentModel.ISupportInitialize)(this.c1ThemeController1)).EndInit();
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.c1DockingTab1)).EndInit();
     this.c1DockingTab1.ResumeLayout(false);
     this.c1DockingTabPage1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.c1TreeView1)).EndInit();
     this.panel3.ResumeLayout(false);
     this.panel3.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.nudRootNodesCount)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.nudLevelsCount)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.nudColumnsCount)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.nudNodesCount)).EndInit();
     this.c1DockingTabPage2.ResumeLayout(false);
     this.panel4.ResumeLayout(false);
     this.panel4.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cmbSelectedColumn)).EndInit();
     this.c1DockingTabPage3.ResumeLayout(false);
     this.panel5.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
     this.splitContainer1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #13
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     C1.Win.TreeView.C1TreeColumn c1TreeColumn8  = new C1.Win.TreeView.C1TreeColumn();
     C1.Win.TreeView.C1TreeColumn c1TreeColumn1  = new C1.Win.TreeView.C1TreeColumn();
     C1.Win.TreeView.C1TreeColumn c1TreeColumn9  = new C1.Win.TreeView.C1TreeColumn();
     C1.Win.TreeView.C1TreeColumn c1TreeColumn10 = new C1.Win.TreeView.C1TreeColumn();
     C1.Win.TreeView.C1TreeColumn c1TreeColumn11 = new C1.Win.TreeView.C1TreeColumn();
     C1.Win.TreeView.C1TreeColumn c1TreeColumn12 = new C1.Win.TreeView.C1TreeColumn();
     C1.Win.TreeView.C1TreeColumn c1TreeColumn13 = new C1.Win.TreeView.C1TreeColumn();
     this.dropDownTreeList            = new C1.Win.Input.C1DropDownControl();
     this.treeList                    = new C1.Win.TreeView.C1TreeView();
     this.dropDownMultiColumnTreeView = new C1.Win.Input.C1DropDownControl();
     this.multiColumnTreeView         = new C1.Win.TreeView.C1TreeView();
     this.c1Label1                    = new C1.Win.Input.C1Label();
     this.c1Label2                    = new C1.Win.Input.C1Label();
     this.propertyGrid1               = new System.Windows.Forms.PropertyGrid();
     ((System.ComponentModel.ISupportInitialize)(this.dropDownTreeList)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.treeList)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dropDownMultiColumnTreeView)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.multiColumnTreeView)).BeginInit();
     this.SuspendLayout();
     //
     // dropDownTreeList
     //
     this.dropDownTreeList.Control          = this.treeList;
     this.dropDownTreeList.DropDownStyle    = C1.Win.Input.DropDownStyle.DropDownList;
     this.dropDownTreeList.InitialSelection = C1.Win.Input.InitialSelection.CaretAtStart;
     this.dropDownTreeList.Location         = new System.Drawing.Point(7, 46);
     this.dropDownTreeList.Name             = "dropDownTreeList";
     this.dropDownTreeList.Size             = new System.Drawing.Size(200, 23);
     this.dropDownTreeList.TabIndex         = 0;
     //
     // treeList
     //
     this.treeList.BackColor                  = System.Drawing.SystemColors.Window;
     this.treeList.BindingInfo.KeyField       = "ID";
     this.treeList.BindingInfo.ParentKeyField = "ChiefID";
     //
     //
     //
     this.treeList.ButtonImageList.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.treeList.ButtonImageList.ImageSize        = new System.Drawing.Size(9, 9);
     this.treeList.ButtonImageList.TransparentColor = System.Drawing.Color.Transparent;
     //
     //
     //
     this.treeList.CheckImageList.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.treeList.CheckImageList.ImageSize        = new System.Drawing.Size(13, 13);
     this.treeList.CheckImageList.TransparentColor = System.Drawing.Color.Transparent;
     c1TreeColumn8.DisplayFieldName         = null;
     c1TreeColumn8.HeaderText               = "Column1";
     c1TreeColumn8.Name                     = "Column1";
     c1TreeColumn8.Styles.Default.BackColor = System.Drawing.SystemColors.Window;
     c1TreeColumn8.Styles.Hot.BackColor     = System.Drawing.SystemColors.Highlight;
     this.treeList.Columns.Add(c1TreeColumn8);
     this.treeList.Location                 = new System.Drawing.Point(50, 152);
     this.treeList.Name                     = "treeList";
     this.treeList.ShowColumnHeaders        = false;
     this.treeList.Size                     = new System.Drawing.Size(200, 200);
     this.treeList.Styles.Default.BackColor = System.Drawing.SystemColors.Window;
     this.treeList.Styles.Hot.BackColor     = System.Drawing.SystemColors.Highlight;
     this.treeList.TabIndex                 = 4;
     this.treeList.SelectionChanged        += new C1.Win.TreeView.C1TreeViewEventHandler(this.treeList_SelectionChanged);
     //
     // dropDownMultiColumnTreeView
     //
     this.dropDownMultiColumnTreeView.Control          = this.multiColumnTreeView;
     this.dropDownMultiColumnTreeView.DropDownStyle    = C1.Win.Input.DropDownStyle.DropDownList;
     this.dropDownMultiColumnTreeView.DropDownWidth    = 300;
     this.dropDownMultiColumnTreeView.InitialSelection = C1.Win.Input.InitialSelection.CaretAtStart;
     this.dropDownMultiColumnTreeView.Location         = new System.Drawing.Point(7, 121);
     this.dropDownMultiColumnTreeView.Name             = "dropDownMultiColumnTreeView";
     this.dropDownMultiColumnTreeView.Size             = new System.Drawing.Size(200, 23);
     this.dropDownMultiColumnTreeView.TabIndex         = 1;
     //
     // multiColumnTreeView
     //
     this.multiColumnTreeView.BackColor                  = System.Drawing.SystemColors.Window;
     this.multiColumnTreeView.BindingInfo.KeyField       = "ID";
     this.multiColumnTreeView.BindingInfo.ParentKeyField = "ChiefID";
     //
     //
     //
     this.multiColumnTreeView.ButtonImageList.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.multiColumnTreeView.ButtonImageList.ImageSize        = new System.Drawing.Size(9, 9);
     this.multiColumnTreeView.ButtonImageList.TransparentColor = System.Drawing.Color.Transparent;
     //
     //
     //
     this.multiColumnTreeView.CheckImageList.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.multiColumnTreeView.CheckImageList.ImageSize        = new System.Drawing.Size(13, 13);
     this.multiColumnTreeView.CheckImageList.TransparentColor = System.Drawing.Color.Transparent;
     c1TreeColumn1.DisplayFieldName          = "Post";
     c1TreeColumn1.HeaderText                = "Post";
     c1TreeColumn1.Name                      = "cPost";
     c1TreeColumn1.Styles.Default.BackColor  = System.Drawing.SystemColors.Window;
     c1TreeColumn1.Styles.Hot.BackColor      = System.Drawing.SystemColors.Highlight;
     c1TreeColumn9.DisplayFieldName          = null;
     c1TreeColumn9.HeaderText                = "Name";
     c1TreeColumn9.Name                      = "cName";
     c1TreeColumn9.Styles.Default.BackColor  = System.Drawing.SystemColors.Window;
     c1TreeColumn9.Styles.Hot.BackColor      = System.Drawing.SystemColors.Highlight;
     c1TreeColumn10.DisplayFieldName         = null;
     c1TreeColumn10.HeaderText               = "Country";
     c1TreeColumn10.Name                     = "cCountry";
     c1TreeColumn10.Styles.Default.BackColor = System.Drawing.SystemColors.Window;
     c1TreeColumn10.Styles.Hot.BackColor     = System.Drawing.SystemColors.Highlight;
     c1TreeColumn11.DisplayFieldName         = "YearBonus";
     c1TreeColumn11.HeaderText               = "Year Bonus";
     c1TreeColumn11.Name                     = "cBonus";
     c1TreeColumn11.Styles.Default.BackColor = System.Drawing.SystemColors.Window;
     c1TreeColumn11.Styles.Hot.BackColor     = System.Drawing.SystemColors.Highlight;
     c1TreeColumn12.DisplayFieldName         = "HasSpecialNeeds";
     c1TreeColumn12.HeaderText               = "Has Special Needs";
     c1TreeColumn12.Name                     = "cNeeds";
     c1TreeColumn12.Styles.Default.BackColor = System.Drawing.SystemColors.Window;
     c1TreeColumn12.Styles.Hot.BackColor     = System.Drawing.SystemColors.Highlight;
     c1TreeColumn13.DisplayFieldName         = "HireDate";
     c1TreeColumn13.HeaderText               = "Hire Date";
     c1TreeColumn13.Name                     = "cHireDate";
     c1TreeColumn13.Styles.Default.BackColor = System.Drawing.SystemColors.Window;
     c1TreeColumn13.Styles.Hot.BackColor     = System.Drawing.SystemColors.Highlight;
     this.multiColumnTreeView.Columns.Add(c1TreeColumn1);
     this.multiColumnTreeView.Columns.Add(c1TreeColumn9);
     this.multiColumnTreeView.Columns.Add(c1TreeColumn10);
     this.multiColumnTreeView.Columns.Add(c1TreeColumn11);
     this.multiColumnTreeView.Columns.Add(c1TreeColumn12);
     this.multiColumnTreeView.Columns.Add(c1TreeColumn13);
     this.multiColumnTreeView.Location = new System.Drawing.Point(285, 152);
     this.multiColumnTreeView.Name     = "multiColumnTreeView";
     this.multiColumnTreeView.Size     = new System.Drawing.Size(200, 200);
     this.multiColumnTreeView.Styles.Default.BackColor = System.Drawing.SystemColors.Window;
     this.multiColumnTreeView.Styles.Hot.BackColor     = System.Drawing.SystemColors.Highlight;
     this.multiColumnTreeView.TabIndex          = 5;
     this.multiColumnTreeView.SelectionChanged += new C1.Win.TreeView.C1TreeViewEventHandler(this.c1TreeView2_SelectionChanged);
     //
     // c1Label1
     //
     this.c1Label1.AutoSize = true;
     this.c1Label1.Location = new System.Drawing.Point(39, 25);
     this.c1Label1.Name     = "c1Label1";
     this.c1Label1.Size     = new System.Drawing.Size(105, 15);
     this.c1Label1.TabIndex = 2;
     this.c1Label1.Text     = "TreeList ComboBox:";
     //
     // c1Label2
     //
     this.c1Label2.AutoSize = true;
     this.c1Label2.Location = new System.Drawing.Point(7, 100);
     this.c1Label2.Name     = "c1Label2";
     this.c1Label2.Size     = new System.Drawing.Size(137, 15);
     this.c1Label2.TabIndex = 3;
     this.c1Label2.Text     = "MultiColumn ComboBox:";
     //
     // propertyGrid1
     //
     this.propertyGrid1.Dock           = System.Windows.Forms.DockStyle.Right;
     this.propertyGrid1.Location       = new System.Drawing.Point(255, 0);
     this.propertyGrid1.Name           = "propertyGrid1";
     this.propertyGrid1.SelectedObject = this.dropDownTreeList;
     this.propertyGrid1.Size           = new System.Drawing.Size(376, 352);
     this.propertyGrid1.TabIndex       = 6;
     //
     // DropDownControl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.propertyGrid1);
     this.Controls.Add(this.multiColumnTreeView);
     this.Controls.Add(this.treeList);
     this.Controls.Add(this.c1Label2);
     this.Controls.Add(this.c1Label1);
     this.Controls.Add(this.dropDownMultiColumnTreeView);
     this.Controls.Add(this.dropDownTreeList);
     this.Name  = "DropDownControl";
     this.Size  = new System.Drawing.Size(631, 352);
     this.Load += new System.EventHandler(this.DropDownControl_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dropDownTreeList)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.treeList)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dropDownMultiColumnTreeView)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.multiColumnTreeView)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #14
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();
     C1.Win.TreeView.C1TreeColumn c1TreeColumn1 = new C1.Win.TreeView.C1TreeColumn();
     C1.Win.TreeView.C1TreeColumn c1TreeColumn2 = new C1.Win.TreeView.C1TreeColumn();
     C1.Win.TreeView.C1TreeColumn c1TreeColumn3 = new C1.Win.TreeView.C1TreeColumn();
     C1.Win.TreeView.C1TreeColumn c1TreeColumn4 = new C1.Win.TreeView.C1TreeColumn();
     C1.Win.TreeView.C1TreeColumn c1TreeColumn5 = new C1.Win.TreeView.C1TreeColumn();
     C1.Win.TreeView.C1TreeColumn c1TreeColumn6 = new C1.Win.TreeView.C1TreeColumn();
     this.groupBox1   = new System.Windows.Forms.GroupBox();
     this.label1      = new System.Windows.Forms.Label();
     this.splitter1   = new System.Windows.Forms.Splitter();
     this.c1TreeView1 = new C1.Win.TreeView.C1TreeView();
     this.c1NWindDataSetBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.c1NWindDataSet          = new TreeViewIntegration.C1NWindDataSet();
     this.categoriesBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.categoriesTableAdapter  = new TreeViewIntegration.C1NWindDataSetTableAdapters.CategoriesTableAdapter();
     this.productsBindingSource   = new System.Windows.Forms.BindingSource(this.components);
     this.productsTableAdapter    = new TreeViewIntegration.C1NWindDataSetTableAdapters.ProductsTableAdapter();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.c1TreeView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.c1NWindDataSetBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.c1NWindDataSet)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.categoriesBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.productsBindingSource)).BeginInit();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Dock      = System.Windows.Forms.DockStyle.Bottom;
     this.groupBox1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(45)))));
     this.groupBox1.Location  = new System.Drawing.Point(0, 406);
     this.groupBox1.Name      = "groupBox1";
     this.groupBox1.Size      = new System.Drawing.Size(828, 54);
     this.groupBox1.TabIndex  = 3;
     this.groupBox1.TabStop   = false;
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
     this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(45)))));
     this.label1.Location  = new System.Drawing.Point(12, 16);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(383, 13);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Mouse left click on icon in Expression column header to open Expression Editor.";
     //
     // splitter1
     //
     this.splitter1.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.splitter1.Location = new System.Drawing.Point(0, 403);
     this.splitter1.Name     = "splitter1";
     this.splitter1.Size     = new System.Drawing.Size(828, 3);
     this.splitter1.TabIndex = 4;
     this.splitter1.TabStop  = false;
     //
     // c1TreeView1
     //
     this.c1TreeView1.AllowEditing               = true;
     this.c1TreeView1.AutoGenerateColumns        = false;
     this.c1TreeView1.BindingInfo.DataMember     = "Categories\\Products";
     this.c1TreeView1.BindingInfo.DataSource     = this.c1NWindDataSetBindingSource;
     this.c1TreeView1.BindingInfo.KeyField       = "CategoryID\\CategoryID";
     this.c1TreeView1.BindingInfo.ParentKeyField = null;
     this.c1TreeView1.BindingMode = C1.Win.TreeView.BindingMode.OneWay;
     //
     //
     //
     this.c1TreeView1.ButtonImageList.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.c1TreeView1.ButtonImageList.ImageSize        = new System.Drawing.Size(16, 16);
     this.c1TreeView1.ButtonImageList.TransparentColor = System.Drawing.Color.Transparent;
     //
     //
     //
     this.c1TreeView1.CheckImageList.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.c1TreeView1.CheckImageList.ImageSize        = new System.Drawing.Size(16, 16);
     this.c1TreeView1.CheckImageList.TransparentColor = System.Drawing.Color.Transparent;
     c1TreeColumn1.DisplayFieldName = "CategoryName\\ProductName";
     c1TreeColumn1.HeaderText       = "Name";
     c1TreeColumn1.Name             = "Name";
     c1TreeColumn1.Width            = 200;
     c1TreeColumn2.DisplayFieldName = "UnitPrice\\UnitPrice";
     c1TreeColumn2.HeaderText       = "UnitPrice";
     c1TreeColumn2.Name             = "UnitPrice";
     c1TreeColumn2.Width            = 70;
     c1TreeColumn3.DisplayFieldName = "UnitsInStock\\UnitsInStock";
     c1TreeColumn3.HeaderText       = "UnitsInStock";
     c1TreeColumn3.Name             = "UnitsInStock";
     c1TreeColumn3.Width            = 80;
     c1TreeColumn4.DisplayFieldName = "UnitsOnOrder\\UnitsOnOrder";
     c1TreeColumn4.HeaderText       = "UnitsOnOrder";
     c1TreeColumn4.Name             = "UnitsOnOrder";
     c1TreeColumn4.Width            = 90;
     c1TreeColumn5.DisplayFieldName = "ReorderLevel\\ReorderLevel";
     c1TreeColumn5.HeaderText       = "ReorderLevel";
     c1TreeColumn5.Name             = "ReorderLevel";
     c1TreeColumn5.Width            = 90;
     c1TreeColumn6.DisplayFieldName = "TotalPrice\\TotalPrice";
     c1TreeColumn6.HeaderText       = "TotalPrice";
     c1TreeColumn6.Name             = "TotalPrice";
     this.c1TreeView1.Columns.Add(c1TreeColumn1);
     this.c1TreeView1.Columns.Add(c1TreeColumn2);
     this.c1TreeView1.Columns.Add(c1TreeColumn3);
     this.c1TreeView1.Columns.Add(c1TreeColumn4);
     this.c1TreeView1.Columns.Add(c1TreeColumn5);
     this.c1TreeView1.Columns.Add(c1TreeColumn6);
     this.c1TreeView1.DataMember     = "Categories\\Products";
     this.c1TreeView1.DataSource     = this.c1NWindDataSetBindingSource;
     this.c1TreeView1.Dock           = System.Windows.Forms.DockStyle.Fill;
     this.c1TreeView1.KeyField       = "CategoryID\\CategoryID";
     this.c1TreeView1.Location       = new System.Drawing.Point(0, 0);
     this.c1TreeView1.Name           = "c1TreeView1";
     this.c1TreeView1.ParentKeyField = null;
     this.c1TreeView1.Size           = new System.Drawing.Size(828, 403);
     this.c1TreeView1.TabIndex       = 5;
     //
     // c1NWindDataSetBindingSource
     //
     this.c1NWindDataSetBindingSource.DataSource = this.c1NWindDataSet;
     this.c1NWindDataSetBindingSource.Position   = 0;
     //
     // c1NWindDataSet
     //
     this.c1NWindDataSet.DataSetName             = "C1NWindDataSet";
     this.c1NWindDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // categoriesBindingSource
     //
     this.categoriesBindingSource.DataMember = "Categories";
     this.categoriesBindingSource.DataSource = this.c1NWindDataSet;
     //
     // categoriesTableAdapter
     //
     this.categoriesTableAdapter.ClearBeforeFill = true;
     //
     // productsBindingSource
     //
     this.productsBindingSource.DataMember = "Products";
     this.productsBindingSource.DataSource = this.c1NWindDataSet;
     //
     // productsTableAdapter
     //
     this.productsTableAdapter.ClearBeforeFill = true;
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(828, 460);
     this.Controls.Add(this.c1TreeView1);
     this.Controls.Add(this.splitter1);
     this.Controls.Add(this.groupBox1);
     this.Name  = "Form1";
     this.Text  = "Form1";
     this.Load += new System.EventHandler(this.Form1_Load);
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.c1TreeView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.c1NWindDataSetBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.c1NWindDataSet)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.categoriesBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.productsBindingSource)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #15
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     C1.Win.TreeView.C1TreeColumn c1TreeColumn2 = new C1.Win.TreeView.C1TreeColumn();
     this.c1ThemeController1 = new C1.Win.C1Themes.C1ThemeController();
     this.panel2             = new System.Windows.Forms.Panel();
     this.c1TreeView1        = new C1.Win.TreeView.C1TreeView();
     this.panel1             = new System.Windows.Forms.Panel();
     this.c1DockingTab1      = new C1.Win.C1Command.C1DockingTab();
     this.c1DockingTabPage1  = new C1.Win.C1Command.C1DockingTabPage();
     this.pgTreeView         = new System.Windows.Forms.PropertyGrid();
     this.btnResetData       = new C1.Win.C1Input.C1Button();
     this.c1DockingTabPage2  = new C1.Win.C1Command.C1DockingTabPage();
     this.pgColumn           = new System.Windows.Forms.PropertyGrid();
     this.cmbSelectedColumn  = new C1.Win.C1Input.C1ComboBox();
     this.c1Label1           = new C1.Win.C1Input.C1Label();
     this.btnAddNewColumn    = new C1.Win.C1Input.C1Button();
     this.btnRemoveColumn    = new C1.Win.C1Input.C1Button();
     this.c1DockingTabPage3  = new C1.Win.C1Command.C1DockingTabPage();
     this.pgNode             = new System.Windows.Forms.PropertyGrid();
     this.splitContainer1    = new System.Windows.Forms.SplitContainer();
     ((System.ComponentModel.ISupportInitialize)(this.c1ThemeController1)).BeginInit();
     this.panel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.c1TreeView1)).BeginInit();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.c1DockingTab1)).BeginInit();
     this.c1DockingTab1.SuspendLayout();
     this.c1DockingTabPage1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.btnResetData)).BeginInit();
     this.c1DockingTabPage2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cmbSelectedColumn)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.c1Label1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnAddNewColumn)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnRemoveColumn)).BeginInit();
     this.c1DockingTabPage3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.SuspendLayout();
     //
     // c1ThemeController1
     //
     this.c1ThemeController1.Theme = "VS2013Dark";
     //
     // panel2
     //
     this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.panel2.Controls.Add(this.c1TreeView1);
     this.panel2.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.panel2.ForeColor = System.Drawing.Color.White;
     this.panel2.Location  = new System.Drawing.Point(0, 0);
     this.panel2.Name      = "panel2";
     this.panel2.Size      = new System.Drawing.Size(449, 479);
     this.panel2.TabIndex  = 2;
     this.c1ThemeController1.SetTheme(this.panel2, "(default)");
     //
     // c1TreeView1
     //
     this.c1TreeView1.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     c1TreeColumn2.DisplayFieldName = null;
     c1TreeColumn2.HeaderText       = "Column1";
     c1TreeColumn2.Name             = "Column1";
     this.c1TreeView1.Columns.Add(c1TreeColumn2);
     this.c1TreeView1.BindingInfo.DataMember = null;
     this.c1TreeView1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.c1TreeView1.BindingInfo.KeyField = null;
     this.c1TreeView1.Location             = new System.Drawing.Point(0, 0);
     this.c1TreeView1.Name = "c1TreeView1";
     this.c1TreeView1.BindingInfo.ParentKeyField = null;
     this.c1TreeView1.Size     = new System.Drawing.Size(449, 479);
     this.c1TreeView1.TabIndex = 0;
     this.c1ThemeController1.SetTheme(this.c1TreeView1, "(default)");
     this.c1TreeView1.SelectionChanged += new C1.Win.TreeView.C1TreeViewEventHandler(this.c1TreeView1_SelectionChanged);
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.panel1.Controls.Add(this.c1DockingTab1);
     this.panel1.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.panel1.ForeColor = System.Drawing.Color.White;
     this.panel1.Location  = new System.Drawing.Point(0, 0);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(265, 479);
     this.panel1.TabIndex  = 1;
     this.c1ThemeController1.SetTheme(this.panel1, "(default)");
     //
     // c1DockingTab1
     //
     this.c1DockingTab1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.c1DockingTab1.Controls.Add(this.c1DockingTabPage1);
     this.c1DockingTab1.Controls.Add(this.c1DockingTabPage2);
     this.c1DockingTab1.Controls.Add(this.c1DockingTabPage3);
     this.c1DockingTab1.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.c1DockingTab1.Location      = new System.Drawing.Point(0, 0);
     this.c1DockingTab1.Name          = "c1DockingTab1";
     this.c1DockingTab1.SelectedIndex = 2;
     this.c1DockingTab1.Size          = new System.Drawing.Size(265, 479);
     this.c1DockingTab1.TabIndex      = 0;
     this.c1DockingTab1.TabsSpacing   = 5;
     this.c1DockingTab1.TabStyle      = C1.Win.C1Command.TabStyleEnum.Office2007;
     this.c1ThemeController1.SetTheme(this.c1DockingTab1, "(default)");
     //
     // c1DockingTabPage1
     //
     this.c1DockingTabPage1.CaptionText = "TreeView";
     this.c1DockingTabPage1.Controls.Add(this.pgTreeView);
     this.c1DockingTabPage1.Controls.Add(this.btnResetData);
     this.c1DockingTabPage1.Location = new System.Drawing.Point(1, 24);
     this.c1DockingTabPage1.Name     = "c1DockingTabPage1";
     this.c1DockingTabPage1.Size     = new System.Drawing.Size(263, 454);
     this.c1DockingTabPage1.TabIndex = 0;
     this.c1DockingTabPage1.Text     = "TreeView";
     //
     // pgTreeView
     //
     this.pgTreeView.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.pgTreeView.BackColor                 = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.pgTreeView.CategoryForeColor         = System.Drawing.Color.White;
     this.pgTreeView.CommandsActiveLinkColor   = System.Drawing.Color.Red;
     this.pgTreeView.CommandsBackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.pgTreeView.CommandsDisabledLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(141)))), ((int)(((byte)(141)))), ((int)(((byte)(141)))));
     this.pgTreeView.CommandsForeColor         = System.Drawing.Color.White;
     this.pgTreeView.CommandsLinkColor         = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(194)))), ((int)(((byte)(255)))));
     this.pgTreeView.HelpForeColor             = System.Drawing.Color.White;
     this.pgTreeView.LineColor                 = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.pgTreeView.Location       = new System.Drawing.Point(13, 78);
     this.pgTreeView.Name           = "pgTreeView";
     this.pgTreeView.SelectedObject = this.c1TreeView1;
     this.pgTreeView.Size           = new System.Drawing.Size(239, 365);
     this.pgTreeView.TabIndex       = 1;
     this.c1ThemeController1.SetTheme(this.pgTreeView, "(default)");
     this.pgTreeView.ViewBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
     this.pgTreeView.ViewForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     //
     // btnResetData
     //
     this.btnResetData.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnResetData.Location = new System.Drawing.Point(13, 15);
     this.btnResetData.Name     = "btnResetData";
     this.btnResetData.Size     = new System.Drawing.Size(115, 46);
     this.btnResetData.TabIndex = 0;
     this.btnResetData.Text     = "Reset data";
     this.c1ThemeController1.SetTheme(this.btnResetData, "(default)");
     this.btnResetData.UseVisualStyleBackColor = true;
     this.btnResetData.VisualStyleBaseStyle    = C1.Win.C1Input.VisualStyle.Office2010Blue;
     this.btnResetData.Click += new System.EventHandler(this.btnResetData_Click);
     //
     // c1DockingTabPage2
     //
     this.c1DockingTabPage2.Controls.Add(this.pgColumn);
     this.c1DockingTabPage2.Controls.Add(this.cmbSelectedColumn);
     this.c1DockingTabPage2.Controls.Add(this.c1Label1);
     this.c1DockingTabPage2.Controls.Add(this.btnAddNewColumn);
     this.c1DockingTabPage2.Controls.Add(this.btnRemoveColumn);
     this.c1DockingTabPage2.Location = new System.Drawing.Point(1, 24);
     this.c1DockingTabPage2.Name     = "c1DockingTabPage2";
     this.c1DockingTabPage2.Size     = new System.Drawing.Size(263, 454);
     this.c1DockingTabPage2.TabIndex = 1;
     this.c1DockingTabPage2.Text     = "Columns";
     //
     // pgColumn
     //
     this.pgColumn.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.pgColumn.BackColor                 = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.pgColumn.CategoryForeColor         = System.Drawing.Color.White;
     this.pgColumn.CommandsActiveLinkColor   = System.Drawing.Color.Red;
     this.pgColumn.CommandsBackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.pgColumn.CommandsDisabledLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(141)))), ((int)(((byte)(141)))), ((int)(((byte)(141)))));
     this.pgColumn.CommandsForeColor         = System.Drawing.Color.White;
     this.pgColumn.CommandsLinkColor         = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(194)))), ((int)(((byte)(255)))));
     this.pgColumn.HelpForeColor             = System.Drawing.Color.White;
     this.pgColumn.LineColor                 = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.pgColumn.Location = new System.Drawing.Point(13, 99);
     this.pgColumn.Name     = "pgColumn";
     this.pgColumn.Size     = new System.Drawing.Size(238, 344);
     this.pgColumn.TabIndex = 4;
     this.c1ThemeController1.SetTheme(this.pgColumn, "(default)");
     this.pgColumn.ViewBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
     this.pgColumn.ViewForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     //
     // cmbSelectedColumn
     //
     this.cmbSelectedColumn.AllowSpinLoop      = false;
     this.cmbSelectedColumn.BorderStyle        = System.Windows.Forms.BorderStyle.FixedSingle;
     this.cmbSelectedColumn.DisabledForeColor  = System.Drawing.Color.Silver;
     this.cmbSelectedColumn.GapHeight          = 0;
     this.cmbSelectedColumn.ImagePadding       = new System.Windows.Forms.Padding(0);
     this.cmbSelectedColumn.ItemsDisplayMember = "";
     this.cmbSelectedColumn.ItemsValueMember   = "";
     this.cmbSelectedColumn.Location           = new System.Drawing.Point(150, 75);
     this.cmbSelectedColumn.Name = "cmbSelectedColumn";
     this.cmbSelectedColumn.Size = new System.Drawing.Size(136, 18);
     this.cmbSelectedColumn.Style.DropDownBackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(27)))), ((int)(((byte)(28)))));
     this.cmbSelectedColumn.Style.DropDownBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(55)))));
     this.cmbSelectedColumn.Style.Font   = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cmbSelectedColumn.TabIndex     = 3;
     this.cmbSelectedColumn.Tag          = null;
     this.cmbSelectedColumn.TextDetached = true;
     this.c1ThemeController1.SetTheme(this.cmbSelectedColumn, "(default)");
     this.cmbSelectedColumn.VisualStyleBaseStyle  = C1.Win.C1Input.VisualStyle.Office2010Blue;
     this.cmbSelectedColumn.SelectedIndexChanged += new System.EventHandler(this.cmbSelectedColumn_SelectedIndexChanged);
     //
     // c1Label1
     //
     this.c1Label1.AutoSize     = true;
     this.c1Label1.BackColor    = System.Drawing.Color.Transparent;
     this.c1Label1.BorderColor  = System.Drawing.Color.Transparent;
     this.c1Label1.BorderStyle  = System.Windows.Forms.BorderStyle.None;
     this.c1Label1.ForeColor    = System.Drawing.Color.White;
     this.c1Label1.Location     = new System.Drawing.Point(63, 77);
     this.c1Label1.Name         = "c1Label1";
     this.c1Label1.Size         = new System.Drawing.Size(81, 13);
     this.c1Label1.TabIndex     = 2;
     this.c1Label1.Tag          = null;
     this.c1Label1.Text         = "Current column:";
     this.c1Label1.TextDetached = true;
     this.c1ThemeController1.SetTheme(this.c1Label1, "(default)");
     //
     // btnAddNewColumn
     //
     this.btnAddNewColumn.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnAddNewColumn.Location = new System.Drawing.Point(13, 19);
     this.btnAddNewColumn.Name     = "btnAddNewColumn";
     this.btnAddNewColumn.Size     = new System.Drawing.Size(115, 46);
     this.btnAddNewColumn.TabIndex = 1;
     this.btnAddNewColumn.Text     = "Add column";
     this.c1ThemeController1.SetTheme(this.btnAddNewColumn, "(default)");
     this.btnAddNewColumn.UseVisualStyleBackColor = true;
     this.btnAddNewColumn.VisualStyleBaseStyle    = C1.Win.C1Input.VisualStyle.Office2010Blue;
     this.btnAddNewColumn.Click += new System.EventHandler(this.btnAddNewColumn_Click);
     //
     // btnRemoveColumn
     //
     this.btnRemoveColumn.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnRemoveColumn.Location = new System.Drawing.Point(150, 19);
     this.btnRemoveColumn.Name     = "btnRemoveColumn";
     this.btnRemoveColumn.Size     = new System.Drawing.Size(115, 46);
     this.btnRemoveColumn.TabIndex = 0;
     this.btnRemoveColumn.Text     = "Remove column";
     this.c1ThemeController1.SetTheme(this.btnRemoveColumn, "(default)");
     this.btnRemoveColumn.UseVisualStyleBackColor = true;
     this.btnRemoveColumn.VisualStyleBaseStyle    = C1.Win.C1Input.VisualStyle.Office2010Blue;
     this.btnRemoveColumn.Click += new System.EventHandler(this.btnRemoveColumn_Click);
     //
     // c1DockingTabPage3
     //
     this.c1DockingTabPage3.Controls.Add(this.pgNode);
     this.c1DockingTabPage3.Location = new System.Drawing.Point(1, 24);
     this.c1DockingTabPage3.Name     = "c1DockingTabPage3";
     this.c1DockingTabPage3.Size     = new System.Drawing.Size(263, 454);
     this.c1DockingTabPage3.TabIndex = 2;
     this.c1DockingTabPage3.Text     = "Nodes";
     //
     // pgNode
     //
     this.pgNode.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.pgNode.BackColor                 = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.pgNode.CategoryForeColor         = System.Drawing.Color.White;
     this.pgNode.CommandsActiveLinkColor   = System.Drawing.Color.Red;
     this.pgNode.CommandsBackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.pgNode.CommandsDisabledLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(141)))), ((int)(((byte)(141)))), ((int)(((byte)(141)))));
     this.pgNode.CommandsForeColor         = System.Drawing.Color.White;
     this.pgNode.CommandsLinkColor         = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(194)))), ((int)(((byte)(255)))));
     this.pgNode.HelpForeColor             = System.Drawing.Color.White;
     this.pgNode.LineColor                 = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.pgNode.Location = new System.Drawing.Point(13, 13);
     this.pgNode.Name     = "pgNode";
     this.pgNode.Size     = new System.Drawing.Size(239, 408);
     this.pgNode.TabIndex = 0;
     this.c1ThemeController1.SetTheme(this.pgNode, "(default)");
     this.pgNode.ViewBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
     this.pgNode.ViewForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     //
     // splitContainer1
     //
     this.splitContainer1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.splitContainer1.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer1.ForeColor = System.Drawing.Color.White;
     this.splitContainer1.Location  = new System.Drawing.Point(0, 0);
     this.splitContainer1.Name      = "splitContainer1";
     //
     // splitContainer1.Panel1
     //
     this.splitContainer1.Panel1.Controls.Add(this.panel2);
     //
     // splitContainer1.Panel2
     //
     this.splitContainer1.Panel2.Controls.Add(this.panel1);
     this.splitContainer1.Size             = new System.Drawing.Size(718, 479);
     this.splitContainer1.SplitterDistance = 449;
     this.splitContainer1.TabIndex         = 2;
     this.c1ThemeController1.SetTheme(this.splitContainer1, "(default)");
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(718, 479);
     this.Controls.Add(this.splitContainer1);
     this.ForeColor = System.Drawing.Color.White;
     this.Name      = "Form1";
     this.Text      = "BoundModeWithDataSet";
     this.c1ThemeController1.SetTheme(this, "(default)");
     ((System.ComponentModel.ISupportInitialize)(this.c1ThemeController1)).EndInit();
     this.panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.c1TreeView1)).EndInit();
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.c1DockingTab1)).EndInit();
     this.c1DockingTab1.ResumeLayout(false);
     this.c1DockingTabPage1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.btnResetData)).EndInit();
     this.c1DockingTabPage2.ResumeLayout(false);
     this.c1DockingTabPage2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cmbSelectedColumn)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.c1Label1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnAddNewColumn)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnRemoveColumn)).EndInit();
     this.c1DockingTabPage3.ResumeLayout(false);
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
     this.splitContainer1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #16
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();
     C1.Win.TreeView.C1TreeColumn c1TreeColumn2 = new C1.Win.TreeView.C1TreeColumn();
     this.c1Ribbon1 = new C1.Win.C1Ribbon.C1Ribbon();
     this.ribbonApplicationMenu1 = new C1.Win.C1Ribbon.RibbonApplicationMenu();
     this.ribbonBottomToolBar1   = new C1.Win.C1Ribbon.RibbonBottomToolBar();
     this.ribbonConfigToolBar1   = new C1.Win.C1Ribbon.RibbonConfigToolBar();
     this.ribbonQat1             = new C1.Win.C1Ribbon.RibbonQat();
     this.ribbonTab1             = new C1.Win.C1Ribbon.RibbonTab();
     this.ribbonGroup1           = new C1.Win.C1Ribbon.RibbonGroup();
     this.ribbonCmbThemes        = new C1.Win.C1Ribbon.RibbonComboBox();
     this.ribbonGroup2           = new C1.Win.C1Ribbon.RibbonGroup();
     this.ribbonTextBox1         = new C1.Win.C1Ribbon.RibbonTextBox();
     this.ribbonTopToolBar1      = new C1.Win.C1Ribbon.RibbonTopToolBar();
     this.c1ThemeController1     = new C1.Win.C1Themes.C1ThemeController();
     this.c1TreeView1            = new C1.Win.TreeView.C1TreeView();
     this.dataSet1 = new CustomAutoSearch.DataSet1();
     this.dataSet1BindingSource   = new System.Windows.Forms.BindingSource(this.components);
     this.territoriesTableAdapter = new CustomAutoSearch.DataSet1TableAdapters.TerritoriesTableAdapter();
     this.regionTableAdapter      = new CustomAutoSearch.DataSet1TableAdapters.RegionTableAdapter();
     ((System.ComponentModel.ISupportInitialize)(this.c1Ribbon1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.c1ThemeController1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.c1TreeView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataSet1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataSet1BindingSource)).BeginInit();
     this.SuspendLayout();
     //
     // c1Ribbon1
     //
     this.c1Ribbon1.ApplicationMenuHolder = this.ribbonApplicationMenu1;
     this.c1Ribbon1.AutoSizeElement       = C1.Framework.AutoSizeElement.Width;
     this.c1Ribbon1.BottomToolBarHolder   = this.ribbonBottomToolBar1;
     this.c1Ribbon1.ConfigToolBarHolder   = this.ribbonConfigToolBar1;
     this.c1Ribbon1.Location  = new System.Drawing.Point(0, 0);
     this.c1Ribbon1.Name      = "c1Ribbon1";
     this.c1Ribbon1.QatHolder = this.ribbonQat1;
     this.c1Ribbon1.Size      = new System.Drawing.Size(683, 143);
     this.c1Ribbon1.Tabs.Add(this.ribbonTab1);
     this.c1ThemeController1.SetTheme(this.c1Ribbon1, "(default)");
     this.c1Ribbon1.TopToolBarHolder = this.ribbonTopToolBar1;
     //
     // ribbonApplicationMenu1
     //
     this.ribbonApplicationMenu1.Name = "ribbonApplicationMenu1";
     //
     // ribbonBottomToolBar1
     //
     this.ribbonBottomToolBar1.Name = "ribbonBottomToolBar1";
     //
     // ribbonConfigToolBar1
     //
     this.ribbonConfigToolBar1.Name = "ribbonConfigToolBar1";
     //
     // ribbonQat1
     //
     this.ribbonQat1.Name = "ribbonQat1";
     //
     // ribbonTab1
     //
     this.ribbonTab1.Groups.Add(this.ribbonGroup1);
     this.ribbonTab1.Groups.Add(this.ribbonGroup2);
     this.ribbonTab1.Name = "ribbonTab1";
     this.ribbonTab1.Text = "Styles";
     //
     // ribbonGroup1
     //
     this.ribbonGroup1.Items.Add(this.ribbonCmbThemes);
     this.ribbonGroup1.Name = "ribbonGroup1";
     this.ribbonGroup1.Text = "Theme";
     //
     // ribbonCmbThemes
     //
     this.ribbonCmbThemes.DropDownStyle         = C1.Win.C1Ribbon.RibbonComboBoxStyle.DropDownList;
     this.ribbonCmbThemes.Name                  = "ribbonCmbThemes";
     this.ribbonCmbThemes.SelectedIndexChanged += new System.EventHandler(this.ribbonCmbThemes_SelectedIndexChanged);
     //
     // ribbonGroup2
     //
     this.ribbonGroup2.Items.Add(this.ribbonTextBox1);
     this.ribbonGroup2.Name = "ribbonGroup2";
     this.ribbonGroup2.Text = "AutoSearch";
     //
     // ribbonTextBox1
     //
     this.ribbonTextBox1.Label        = "Search";
     this.ribbonTextBox1.Name         = "ribbonTextBox1";
     this.ribbonTextBox1.TextChanged += new System.EventHandler(this.ribbonTextBox1_TextChanged);
     //
     // ribbonTopToolBar1
     //
     this.ribbonTopToolBar1.Name = "ribbonTopToolBar1";
     //
     // c1TreeView1
     //
     c1TreeColumn2.DisplayFieldName = "RegionDescription\\TerritoryDescription";
     c1TreeColumn2.HeaderText       = "Region";
     c1TreeColumn2.Name             = "Region";
     this.c1TreeView1.Columns.Add(c1TreeColumn2);
     this.c1TreeView1.BindingInfo.DataMember = null;
     this.c1TreeView1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.c1TreeView1.BindingInfo.KeyField = null;
     this.c1TreeView1.Location             = new System.Drawing.Point(0, 143);
     this.c1TreeView1.Name = "c1TreeView1";
     this.c1TreeView1.BindingInfo.ParentKeyField = null;
     this.c1TreeView1.ShowColumnHeaders          = false;
     this.c1TreeView1.Size     = new System.Drawing.Size(683, 355);
     this.c1TreeView1.TabIndex = 1;
     this.c1ThemeController1.SetTheme(this.c1TreeView1, "(default)");
     //
     // dataSet1
     //
     this.dataSet1.DataSetName             = "DataSet1";
     this.dataSet1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // dataSet1BindingSource
     //
     this.dataSet1BindingSource.DataMember = "Territories";
     this.dataSet1BindingSource.DataSource = this.dataSet1;
     //
     // territoriesTableAdapter
     //
     this.territoriesTableAdapter.ClearBeforeFill = true;
     //
     // regionTableAdapter
     //
     this.regionTableAdapter.ClearBeforeFill = true;
     //
     // MainForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(683, 498);
     this.Controls.Add(this.c1TreeView1);
     this.Controls.Add(this.c1Ribbon1);
     this.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.Name      = "MainForm";
     this.Text      = "Form1";
     this.c1ThemeController1.SetTheme(this, "(default)");
     this.VisualStyleHolder = C1.Win.C1Ribbon.VisualStyle.Custom;
     this.Load += new System.EventHandler(this.MainForm_Load);
     ((System.ComponentModel.ISupportInitialize)(this.c1Ribbon1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.c1ThemeController1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.c1TreeView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataSet1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataSet1BindingSource)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     C1.Win.TreeView.C1TreeColumn c1TreeColumn1 = new C1.Win.TreeView.C1TreeColumn();
     this.pnlTitle           = new System.Windows.Forms.Panel();
     this.lblSelectedControl = new C1.Win.Input.C1Label();
     this.btnHome            = new C1.Win.Input.C1Button();
     this.lblTitle           = new System.Windows.Forms.Label();
     this.treeFeatures       = new C1.Win.TreeView.C1TreeView();
     this.panel1             = new System.Windows.Forms.Panel();
     this.pnlTitle.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.treeFeatures)).BeginInit();
     this.SuspendLayout();
     //
     // pnlTitle
     //
     this.pnlTitle.Controls.Add(this.lblSelectedControl);
     this.pnlTitle.Controls.Add(this.btnHome);
     this.pnlTitle.Dock     = System.Windows.Forms.DockStyle.Top;
     this.pnlTitle.Location = new System.Drawing.Point(0, 0);
     this.pnlTitle.Name     = "pnlTitle";
     this.pnlTitle.Size     = new System.Drawing.Size(215, 36);
     this.pnlTitle.TabIndex = 0;
     //
     // lblSelectedControl
     //
     this.lblSelectedControl.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.lblSelectedControl.Font       = new System.Drawing.Font("Trebuchet MS", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point);
     this.lblSelectedControl.ForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(31)))), ((int)(((byte)(32)))));
     this.lblSelectedControl.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.lblSelectedControl.Location   = new System.Drawing.Point(36, 0);
     this.lblSelectedControl.Name       = "lblSelectedControl";
     this.lblSelectedControl.Size       = new System.Drawing.Size(179, 36);
     this.lblSelectedControl.Styles.Default.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(31)))), ((int)(((byte)(32)))));
     this.lblSelectedControl.TabIndex          = 1;
     this.lblSelectedControl.TextAlign         = System.Drawing.ContentAlignment.MiddleLeft;
     this.lblSelectedControl.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.lblSelectedControl.UseMnemonic       = true;
     //
     // btnHome
     //
     this.btnHome.AutoSizeMode                = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.btnHome.Dock                        = System.Windows.Forms.DockStyle.Left;
     this.btnHome.Location                    = new System.Drawing.Point(0, 0);
     this.btnHome.Name                        = "btnHome";
     this.btnHome.Size                        = new System.Drawing.Size(36, 36);
     this.btnHome.Styles.Border               = new C1.Framework.Thickness(0, 0, 0, 0);
     this.btnHome.Styles.Default.BackColor    = System.Drawing.Color.FromArgb(((int)(((byte)(144)))), ((int)(((byte)(145)))), ((int)(((byte)(145)))));
     this.btnHome.Styles.Default.ForeColor    = System.Drawing.Color.White;
     this.btnHome.Styles.Hot.BackColor        = System.Drawing.Color.FromArgb(((int)(((byte)(160)))), ((int)(((byte)(160)))), ((int)(((byte)(159)))));
     this.btnHome.Styles.Hot.ForeColor        = System.Drawing.Color.White;
     this.btnHome.Styles.HotPressed.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(126)))), ((int)(((byte)(44)))), ((int)(((byte)(51)))));
     this.btnHome.Styles.HotPressed.ForeColor = System.Drawing.Color.White;
     this.btnHome.TabIndex                    = 0;
     this.btnHome.UseMnemonic                 = true;
     this.btnHome.Click                      += new System.EventHandler(this.Home_Click);
     //
     // lblTitle
     //
     this.lblTitle.Dock      = System.Windows.Forms.DockStyle.Top;
     this.lblTitle.Font      = new System.Drawing.Font("Trebuchet MS", 10.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point);
     this.lblTitle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(145)))), ((int)(((byte)(24)))), ((int)(((byte)(29)))));
     this.lblTitle.Location  = new System.Drawing.Point(0, 36);
     this.lblTitle.Name      = "lblTitle";
     this.lblTitle.Padding   = new System.Windows.Forms.Padding(34, 0, 0, 0);
     this.lblTitle.Size      = new System.Drawing.Size(215, 36);
     this.lblTitle.TabIndex  = 1;
     this.lblTitle.Text      = "FEATURES";
     this.lblTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // treeFeatures
     //
     this.treeFeatures.AllowUserToResizeColumns = false;
     this.treeFeatures.BackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(242)))), ((int)(((byte)(242)))), ((int)(((byte)(243)))));
     this.treeFeatures.BorderStyle = System.Windows.Forms.BorderStyle.None;
     //
     //
     //
     this.treeFeatures.ButtonImageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.treeFeatures.ButtonImageList.ImageSize  = new System.Drawing.Size(16, 16);
     //
     //
     //
     this.treeFeatures.CheckImageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.treeFeatures.CheckImageList.ImageSize  = new System.Drawing.Size(16, 16);
     c1TreeColumn1.DisplayFieldName                   = null;
     c1TreeColumn1.HeaderText                         = "Column1";
     c1TreeColumn1.Name                               = "Column1";
     c1TreeColumn1.Styles.Default.ForeColor           = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(31)))), ((int)(((byte)(32)))));
     c1TreeColumn1.Styles.Font                        = new System.Drawing.Font("Trebuchet MS", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
     c1TreeColumn1.Styles.Hot.BackColor               = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(226)))), ((int)(((byte)(225)))));
     c1TreeColumn1.Styles.Hot.ForeColor               = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(31)))), ((int)(((byte)(32)))));
     c1TreeColumn1.Styles.HotSelected.BackColor       = System.Drawing.Color.White;
     c1TreeColumn1.Styles.HotSelected.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(31)))), ((int)(((byte)(32)))));
     c1TreeColumn1.Styles.Selected.BackColor          = System.Drawing.Color.White;
     c1TreeColumn1.Styles.Selected.ForeColor          = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(31)))), ((int)(((byte)(32)))));
     c1TreeColumn1.Styles.UnfocusedSelected.BackColor = System.Drawing.Color.White;
     c1TreeColumn1.Styles.UnfocusedSelected.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(31)))), ((int)(((byte)(32)))));
     this.treeFeatures.Columns.Add(c1TreeColumn1);
     this.treeFeatures.Dock                               = System.Windows.Forms.DockStyle.Fill;
     this.treeFeatures.Location                           = new System.Drawing.Point(0, 72);
     this.treeFeatures.Name                               = "treeFeatures";
     this.treeFeatures.ShowColumnHeaders                  = false;
     this.treeFeatures.Size                               = new System.Drawing.Size(215, 368);
     this.treeFeatures.Styles.Border                      = 0;
     this.treeFeatures.Styles.Default.ForeColor           = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(31)))), ((int)(((byte)(32)))));
     this.treeFeatures.Styles.ExpandButtonStyle           = C1.Win.TreeView.ExpandButtonStyle.Windows10;
     this.treeFeatures.Styles.Font                        = new System.Drawing.Font("Trebuchet MS", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
     this.treeFeatures.Styles.Hot.BackColor               = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(226)))), ((int)(((byte)(225)))));
     this.treeFeatures.Styles.Hot.ForeColor               = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(31)))), ((int)(((byte)(32)))));
     this.treeFeatures.Styles.HotSelected.BackColor       = System.Drawing.Color.White;
     this.treeFeatures.Styles.HotSelected.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(31)))), ((int)(((byte)(32)))));
     this.treeFeatures.Styles.Selected.BackColor          = System.Drawing.Color.White;
     this.treeFeatures.Styles.Selected.ForeColor          = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(31)))), ((int)(((byte)(32)))));
     this.treeFeatures.Styles.ShowLines                   = false;
     this.treeFeatures.Styles.UnfocusedSelected.BackColor = System.Drawing.Color.White;
     this.treeFeatures.Styles.UnfocusedSelected.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(31)))), ((int)(((byte)(32)))));
     this.treeFeatures.TabIndex                           = 2;
     this.treeFeatures.SelectionChanged                  += new C1.Win.TreeView.C1TreeViewEventHandler(this.TreeFeatures_SelectionChanged);
     //
     // panel1
     //
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Left;
     this.panel1.Location = new System.Drawing.Point(0, 72);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(20, 368);
     this.panel1.TabIndex = 3;
     //
     // FeatureNavigation
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Dpi;
     this.BackColor           = System.Drawing.Color.FromArgb(((int)(((byte)(242)))), ((int)(((byte)(242)))), ((int)(((byte)(243)))));
     this.Controls.Add(this.treeFeatures);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.lblTitle);
     this.Controls.Add(this.pnlTitle);
     this.Name = "FeatureNavigation";
     this.Size = new System.Drawing.Size(215, 440);
     this.pnlTitle.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.treeFeatures)).EndInit();
     this.ResumeLayout(false);
 }