123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129 |
- namespace WindowsFormsIODirectoryInfoDemo
- {
- partial class Form1
- {
-
-
-
- private System.ComponentModel.IContainer components = null;
-
-
-
-
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
- #region Windows 窗体设计器生成的代码
-
-
-
-
- private void InitializeComponent()
- {
- this.label1 = new System.Windows.Forms.Label();
- this.textBox1 = new System.Windows.Forms.TextBox();
- this.button1 = new System.Windows.Forms.Button();
- this.listView1 = new System.Windows.Forms.ListView();
- this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog();
- this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
- this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
- this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
- this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
- this.SuspendLayout();
-
-
-
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(12, 14);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(97, 15);
- this.label1.TabIndex = 0;
- this.label1.Text = "选择文件夹:";
-
-
-
- this.textBox1.Location = new System.Drawing.Point(115, 9);
- this.textBox1.Name = "textBox1";
- this.textBox1.Size = new System.Drawing.Size(264, 25);
- this.textBox1.TabIndex = 1;
-
-
-
- this.button1.Location = new System.Drawing.Point(401, 6);
- this.button1.Name = "button1";
- this.button1.Size = new System.Drawing.Size(75, 30);
- this.button1.TabIndex = 2;
- this.button1.Text = "浏览";
- this.button1.UseVisualStyleBackColor = true;
- this.button1.Click += new System.EventHandler(this.button1_Click);
-
-
-
- this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
- this.columnHeader1,
- this.columnHeader2,
- this.columnHeader3,
- this.columnHeader4});
- this.listView1.HideSelection = false;
- this.listView1.Location = new System.Drawing.Point(15, 43);
- this.listView1.Name = "listView1";
- this.listView1.Size = new System.Drawing.Size(461, 201);
- this.listView1.TabIndex = 3;
- this.listView1.UseCompatibleStateImageBehavior = false;
- this.listView1.View = System.Windows.Forms.View.Details;
-
-
-
- this.columnHeader1.Text = "文件名";
-
-
-
- this.columnHeader2.Text = "路径";
-
-
-
- this.columnHeader3.Text = "大小";
- this.columnHeader3.Width = 40;
-
-
-
- this.columnHeader4.Text = "创建日期";
-
-
-
- this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(488, 256);
- this.Controls.Add(this.listView1);
- this.Controls.Add(this.button1);
- this.Controls.Add(this.textBox1);
- this.Controls.Add(this.label1);
- this.Name = "Form1";
- this.Text = "Form1";
- this.ResumeLayout(false);
- this.PerformLayout();
- }
- #endregion
- private System.Windows.Forms.Label label1;
- private System.Windows.Forms.TextBox textBox1;
- private System.Windows.Forms.Button button1;
- private System.Windows.Forms.ListView listView1;
- private System.Windows.Forms.ColumnHeader columnHeader1;
- private System.Windows.Forms.ColumnHeader columnHeader2;
- private System.Windows.Forms.FolderBrowserDialog folderBrowserDialog1;
- private System.Windows.Forms.ColumnHeader columnHeader3;
- private System.Windows.Forms.ColumnHeader columnHeader4;
- }
- }
|