77 lines
3.6 KiB
C#
77 lines
3.6 KiB
C#
namespace Reader
|
|
{
|
|
partial class MainForm
|
|
{
|
|
private System.ComponentModel.IContainer components = null;
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
private void InitializeComponent()
|
|
{
|
|
this.txtFolder = new System.Windows.Forms.TextBox();
|
|
this.btnBrowse = new System.Windows.Forms.Button();
|
|
this.btnRead = new System.Windows.Forms.Button();
|
|
this.dgv = new System.Windows.Forms.DataGridView();
|
|
((System.ComponentModel.ISupportInitialize)(this.dgv)).BeginInit();
|
|
this.SuspendLayout();
|
|
// txtFolder
|
|
this.txtFolder.Location = new System.Drawing.Point(12, 30);
|
|
this.txtFolder.Name = "txtFolder";
|
|
this.txtFolder.Size = new System.Drawing.Size(360, 23);
|
|
// btnBrowse
|
|
this.btnBrowse.Location = new System.Drawing.Point(378, 28);
|
|
this.btnBrowse.Name = "btnBrowse";
|
|
this.btnBrowse.Size = new System.Drawing.Size(75, 25);
|
|
this.btnBrowse.Text = "浏览文件夹";
|
|
this.btnBrowse.UseVisualStyleBackColor = true;
|
|
this.btnBrowse.Click += new System.EventHandler(this.btnBrowse_Click);
|
|
// btnRead
|
|
this.btnRead.Location = new System.Drawing.Point(378, 170);
|
|
this.btnRead.Name = "btnRead";
|
|
this.btnRead.Size = new System.Drawing.Size(75, 27);
|
|
this.btnRead.Text = "开始读取";
|
|
this.btnRead.UseVisualStyleBackColor = true;
|
|
this.btnRead.Click += new System.EventHandler(this.btnRead_Click);
|
|
// dgv
|
|
this.dgv.AllowUserToAddRows = false;
|
|
this.dgv.AllowUserToDeleteRows = false;
|
|
this.dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dgv.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
new System.Windows.Forms.DataGridViewTextBoxColumn() { Name = "colFile", HeaderText = "文件名" },
|
|
new System.Windows.Forms.DataGridViewTextBoxColumn() { Name = "colUpload", HeaderText = "上传信息" },
|
|
new System.Windows.Forms.DataGridViewTextBoxColumn() { Name = "colDownload", HeaderText = "下载信息" },
|
|
new System.Windows.Forms.DataGridViewTextBoxColumn() { Name = "colTime", HeaderText = "暗码写入时间" }
|
|
});
|
|
this.dgv.Location = new System.Drawing.Point(12, 62);
|
|
this.dgv.Name = "dgv";
|
|
this.dgv.ReadOnly = true;
|
|
this.dgv.RowTemplate.Height = 25;
|
|
this.dgv.Size = new System.Drawing.Size(441, 100);
|
|
// MainForm
|
|
this.ClientSize = new System.Drawing.Size(465, 209);
|
|
this.Controls.Add(this.txtFolder);
|
|
this.Controls.Add(this.btnBrowse);
|
|
this.Controls.Add(this.dgv);
|
|
this.Controls.Add(this.btnRead);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
|
this.MaximizeBox = false;
|
|
this.Name = "MainForm";
|
|
this.Text = "Reader - 读取暗码";
|
|
((System.ComponentModel.ISupportInitialize)(this.dgv)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
}
|
|
|
|
private System.Windows.Forms.TextBox txtFolder;
|
|
private System.Windows.Forms.Button btnBrowse;
|
|
private System.Windows.Forms.Button btnRead;
|
|
private System.Windows.Forms.DataGridView dgv;
|
|
}
|
|
}
|