Form1.Designer.cs
上传用户:eleven0727
上传日期:2022-04-14
资源大小:271k
文件大小:4k
源码类别:

组合框控件

开发平台:

C#

  1. namespace TreeComboBoxTest
  2. {
  3. partial class Form1
  4. {
  5. /// <summary>
  6. /// Required designer variable.
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. /// <summary>
  10. /// Clean up any resources being used.
  11. /// </summary>
  12. /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
  13. protected override void Dispose(bool disposing)
  14. {
  15. if (disposing && (components != null))
  16. {
  17. components.Dispose();
  18. }
  19. base.Dispose(disposing);
  20. }
  21. #region Windows Form Designer generated code
  22. /// <summary>
  23. /// Required method for Designer support - do not modify
  24. /// the contents of this method with the code editor.
  25. /// </summary>
  26. private void InitializeComponent()
  27. {
  28. this.components = new System.ComponentModel.Container();
  29. System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
  30. this.comboBox1 = new System.Windows.Forms.ComboBox();
  31. this.button1 = new System.Windows.Forms.Button();
  32. this.imageList1 = new System.Windows.Forms.ImageList(this.components);
  33. this.treeComboBox1 = new TreeComboBox.TreeComboBox();
  34. this.SuspendLayout();
  35. // 
  36. // comboBox1
  37. // 
  38. this.comboBox1.FormattingEnabled = true;
  39. this.comboBox1.Items.AddRange(new object[] {
  40.             "aaa",
  41.             "bbb",
  42.             "ccc",
  43.             "ddd",
  44.             "eee",
  45.             "fff",
  46.             "ggg",
  47.             "hhh",
  48.             "iii",
  49.             "jjj"});
  50. this.comboBox1.Location = new System.Drawing.Point(12, 49);
  51. this.comboBox1.Name = "comboBox1";
  52. this.comboBox1.Size = new System.Drawing.Size(230, 20);
  53. this.comboBox1.TabIndex = 1;
  54. // 
  55. // button1
  56. // 
  57. this.button1.Location = new System.Drawing.Point(12, 85);
  58. this.button1.Name = "button1";
  59. this.button1.Size = new System.Drawing.Size(78, 23);
  60. this.button1.TabIndex = 2;
  61. this.button1.Text = "button1";
  62. this.button1.UseVisualStyleBackColor = true;
  63. // 
  64. // imageList1
  65. // 
  66. this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
  67. this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
  68. this.imageList1.Images.SetKeyName(0, "folder.ico");
  69. this.imageList1.Images.SetKeyName(1, "folder open.ico");
  70. this.imageList1.Images.SetKeyName(2, "user.bmp");
  71. // 
  72. // treeComboBox1
  73. // 
  74. this.treeComboBox1.ImageList = this.imageList1;
  75. this.treeComboBox1.Location = new System.Drawing.Point(12, 12);
  76. this.treeComboBox1.MaxDropDownItems = 8;
  77. this.treeComboBox1.Name = "treeComboBox1";
  78. this.treeComboBox1.SelectedNode = null;
  79. this.treeComboBox1.ShowLines = true;
  80. this.treeComboBox1.ShowNodeToolTips = false;
  81. this.treeComboBox1.ShowPlusMinus = true;
  82. this.treeComboBox1.ShowRootLines = true;
  83. this.treeComboBox1.Size = new System.Drawing.Size(171, 21);
  84. this.treeComboBox1.TabIndex = 0;
  85. // 
  86. // Form1
  87. // 
  88. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
  89. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  90. this.ClientSize = new System.Drawing.Size(266, 187);
  91. this.Controls.Add(this.button1);
  92. this.Controls.Add(this.comboBox1);
  93. this.Controls.Add(this.treeComboBox1);
  94. this.Name = "Form1";
  95. this.Text = "TreeComboBox范例";
  96. this.ResumeLayout(false);
  97. }
  98. #endregion
  99. private TreeComboBox.TreeComboBox treeComboBox1;
  100. private System.Windows.Forms.ComboBox comboBox1;
  101. private System.Windows.Forms.Button button1;
  102. private System.Windows.Forms.ImageList imageList1;
  103. }
  104. }