Form1.Designer.cs
资源名称:ComboBox.rar [点击查看]
上传用户:eleven0727
上传日期:2022-04-14
资源大小:271k
文件大小:4k
源码类别:
组合框控件
开发平台:
C#
- namespace TreeComboBoxTest
- {
- partial class Form1
- {
- /// <summary>
- /// Required designer variable.
- /// </summary>
- private System.ComponentModel.IContainer components = null;
- /// <summary>
- /// Clean up any resources being used.
- /// </summary>
- /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
- #region Windows Form Designer generated code
- /// <summary>
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- /// </summary>
- private void InitializeComponent()
- {
- this.components = new System.ComponentModel.Container();
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
- this.comboBox1 = new System.Windows.Forms.ComboBox();
- this.button1 = new System.Windows.Forms.Button();
- this.imageList1 = new System.Windows.Forms.ImageList(this.components);
- this.treeComboBox1 = new TreeComboBox.TreeComboBox();
- this.SuspendLayout();
- //
- // comboBox1
- //
- this.comboBox1.FormattingEnabled = true;
- this.comboBox1.Items.AddRange(new object[] {
- "aaa",
- "bbb",
- "ccc",
- "ddd",
- "eee",
- "fff",
- "ggg",
- "hhh",
- "iii",
- "jjj"});
- this.comboBox1.Location = new System.Drawing.Point(12, 49);
- this.comboBox1.Name = "comboBox1";
- this.comboBox1.Size = new System.Drawing.Size(230, 20);
- this.comboBox1.TabIndex = 1;
- //
- // button1
- //
- this.button1.Location = new System.Drawing.Point(12, 85);
- this.button1.Name = "button1";
- this.button1.Size = new System.Drawing.Size(78, 23);
- this.button1.TabIndex = 2;
- this.button1.Text = "button1";
- this.button1.UseVisualStyleBackColor = true;
- //
- // imageList1
- //
- this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
- this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
- this.imageList1.Images.SetKeyName(0, "folder.ico");
- this.imageList1.Images.SetKeyName(1, "folder open.ico");
- this.imageList1.Images.SetKeyName(2, "user.bmp");
- //
- // treeComboBox1
- //
- this.treeComboBox1.ImageList = this.imageList1;
- this.treeComboBox1.Location = new System.Drawing.Point(12, 12);
- this.treeComboBox1.MaxDropDownItems = 8;
- this.treeComboBox1.Name = "treeComboBox1";
- this.treeComboBox1.SelectedNode = null;
- this.treeComboBox1.ShowLines = true;
- this.treeComboBox1.ShowNodeToolTips = false;
- this.treeComboBox1.ShowPlusMinus = true;
- this.treeComboBox1.ShowRootLines = true;
- this.treeComboBox1.Size = new System.Drawing.Size(171, 21);
- this.treeComboBox1.TabIndex = 0;
- //
- // Form1
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(266, 187);
- this.Controls.Add(this.button1);
- this.Controls.Add(this.comboBox1);
- this.Controls.Add(this.treeComboBox1);
- this.Name = "Form1";
- this.Text = "TreeComboBox范例";
- this.ResumeLayout(false);
- }
- #endregion
- private TreeComboBox.TreeComboBox treeComboBox1;
- private System.Windows.Forms.ComboBox comboBox1;
- private System.Windows.Forms.Button button1;
- private System.Windows.Forms.ImageList imageList1;
- }
- }