Form1.Designer.cs 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. namespace WindowsFormsIODirectoryInfoDemo
  2. {
  3. partial class Form1
  4. {
  5. /// <summary>
  6. /// 必需的设计器变量。
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. /// <summary>
  10. /// 清理所有正在使用的资源。
  11. /// </summary>
  12. /// <param name="disposing">如果应释放托管资源,为 true;否则为 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 窗体设计器生成的代码
  22. /// <summary>
  23. /// 设计器支持所需的方法 - 不要修改
  24. /// 使用代码编辑器修改此方法的内容。
  25. /// </summary>
  26. private void InitializeComponent()
  27. {
  28. this.label1 = new System.Windows.Forms.Label();
  29. this.textBox1 = new System.Windows.Forms.TextBox();
  30. this.button1 = new System.Windows.Forms.Button();
  31. this.listView1 = new System.Windows.Forms.ListView();
  32. this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog();
  33. this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
  34. this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
  35. this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
  36. this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
  37. this.SuspendLayout();
  38. //
  39. // label1
  40. //
  41. this.label1.AutoSize = true;
  42. this.label1.Location = new System.Drawing.Point(12, 14);
  43. this.label1.Name = "label1";
  44. this.label1.Size = new System.Drawing.Size(97, 15);
  45. this.label1.TabIndex = 0;
  46. this.label1.Text = "选择文件夹:";
  47. //
  48. // textBox1
  49. //
  50. this.textBox1.Location = new System.Drawing.Point(115, 9);
  51. this.textBox1.Name = "textBox1";
  52. this.textBox1.Size = new System.Drawing.Size(264, 25);
  53. this.textBox1.TabIndex = 1;
  54. //
  55. // button1
  56. //
  57. this.button1.Location = new System.Drawing.Point(401, 6);
  58. this.button1.Name = "button1";
  59. this.button1.Size = new System.Drawing.Size(75, 30);
  60. this.button1.TabIndex = 2;
  61. this.button1.Text = "浏览";
  62. this.button1.UseVisualStyleBackColor = true;
  63. this.button1.Click += new System.EventHandler(this.button1_Click);
  64. //
  65. // listView1
  66. //
  67. this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
  68. this.columnHeader1,
  69. this.columnHeader2,
  70. this.columnHeader3,
  71. this.columnHeader4});
  72. this.listView1.HideSelection = false;
  73. this.listView1.Location = new System.Drawing.Point(15, 43);
  74. this.listView1.Name = "listView1";
  75. this.listView1.Size = new System.Drawing.Size(461, 201);
  76. this.listView1.TabIndex = 3;
  77. this.listView1.UseCompatibleStateImageBehavior = false;
  78. this.listView1.View = System.Windows.Forms.View.Details;
  79. //
  80. // columnHeader1
  81. //
  82. this.columnHeader1.Text = "文件名";
  83. //
  84. // columnHeader2
  85. //
  86. this.columnHeader2.Text = "路径";
  87. //
  88. // columnHeader3
  89. //
  90. this.columnHeader3.Text = "大小";
  91. this.columnHeader3.Width = 40;
  92. //
  93. // columnHeader4
  94. //
  95. this.columnHeader4.Text = "创建日期";
  96. //
  97. // Form1
  98. //
  99. this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
  100. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  101. this.ClientSize = new System.Drawing.Size(488, 256);
  102. this.Controls.Add(this.listView1);
  103. this.Controls.Add(this.button1);
  104. this.Controls.Add(this.textBox1);
  105. this.Controls.Add(this.label1);
  106. this.Name = "Form1";
  107. this.Text = "Form1";
  108. this.ResumeLayout(false);
  109. this.PerformLayout();
  110. }
  111. #endregion
  112. private System.Windows.Forms.Label label1;
  113. private System.Windows.Forms.TextBox textBox1;
  114. private System.Windows.Forms.Button button1;
  115. private System.Windows.Forms.ListView listView1;
  116. private System.Windows.Forms.ColumnHeader columnHeader1;
  117. private System.Windows.Forms.ColumnHeader columnHeader2;
  118. private System.Windows.Forms.FolderBrowserDialog folderBrowserDialog1;
  119. private System.Windows.Forms.ColumnHeader columnHeader3;
  120. private System.Windows.Forms.ColumnHeader columnHeader4;
  121. }
  122. }