fixed some bugs
This commit is contained in:
168
client/Reader/MainForm.Designer.cs
generated
168
client/Reader/MainForm.Designer.cs
generated
@@ -12,65 +12,119 @@ namespace Reader
|
||||
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 void InitializeComponent()
|
||||
{
|
||||
txtFolder = new TextBox();
|
||||
btnBrowse = new Button();
|
||||
btnRead = new Button();
|
||||
dgv = new DataGridView();
|
||||
Filename = new DataGridViewTextBoxColumn();
|
||||
eryi_ID = new DataGridViewTextBoxColumn();
|
||||
下载者用户名 = new DataGridViewTextBoxColumn();
|
||||
暗码写入时间 = new DataGridViewTextBoxColumn();
|
||||
((System.ComponentModel.ISupportInitialize)dgv).BeginInit();
|
||||
SuspendLayout();
|
||||
//
|
||||
// txtFolder
|
||||
//
|
||||
txtFolder.Location = new Point(12, 30);
|
||||
txtFolder.Name = "txtFolder";
|
||||
txtFolder.Size = new Size(360, 23);
|
||||
txtFolder.TabIndex = 0;
|
||||
//
|
||||
// btnBrowse
|
||||
//
|
||||
btnBrowse.Location = new Point(378, 28);
|
||||
btnBrowse.Name = "btnBrowse";
|
||||
btnBrowse.Size = new Size(75, 25);
|
||||
btnBrowse.TabIndex = 1;
|
||||
btnBrowse.Text = "浏览文件夹";
|
||||
btnBrowse.UseVisualStyleBackColor = true;
|
||||
btnBrowse.Click += btnBrowse_Click;
|
||||
//
|
||||
// btnRead
|
||||
//
|
||||
btnRead.Location = new Point(570, 26);
|
||||
btnRead.Name = "btnRead";
|
||||
btnRead.Size = new Size(75, 27);
|
||||
btnRead.TabIndex = 3;
|
||||
btnRead.Text = "开始读取";
|
||||
btnRead.UseVisualStyleBackColor = true;
|
||||
btnRead.Click += btnRead_Click;
|
||||
//
|
||||
// dgv
|
||||
//
|
||||
dgv.AllowUserToAddRows = false;
|
||||
dgv.AllowUserToDeleteRows = false;
|
||||
dgv.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
|
||||
dgv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
dgv.Columns.AddRange(new DataGridViewColumn[] { Filename, eryi_ID, 下载者用户名, 暗码写入时间 });
|
||||
dgv.Location = new Point(12, 59);
|
||||
dgv.Name = "dgv";
|
||||
dgv.ReadOnly = true;
|
||||
dgv.Size = new Size(748, 332);
|
||||
dgv.TabIndex = 2;
|
||||
//
|
||||
// Filename
|
||||
//
|
||||
Filename.AutoSizeMode = DataGridViewAutoSizeColumnMode.ColumnHeader;
|
||||
Filename.FillWeight = 300F;
|
||||
Filename.Frozen = true;
|
||||
Filename.HeaderText = "文件名";
|
||||
Filename.MinimumWidth = 400;
|
||||
Filename.Name = "Filename";
|
||||
Filename.ReadOnly = true;
|
||||
Filename.Width = 400;
|
||||
//
|
||||
// eryi_ID
|
||||
//
|
||||
eryi_ID.AutoSizeMode = DataGridViewAutoSizeColumnMode.ColumnHeader;
|
||||
eryi_ID.HeaderText = "二一资料ID";
|
||||
eryi_ID.Name = "eryi_ID";
|
||||
eryi_ID.ReadOnly = true;
|
||||
eryi_ID.Width = 94;
|
||||
//
|
||||
// 下载者用户名
|
||||
//
|
||||
下载者用户名.AutoSizeMode = DataGridViewAutoSizeColumnMode.ColumnHeader;
|
||||
下载者用户名.HeaderText = "下载者用户名";
|
||||
下载者用户名.Name = "下载者用户名";
|
||||
下载者用户名.ReadOnly = true;
|
||||
下载者用户名.Width = 105;
|
||||
//
|
||||
// 暗码写入时间
|
||||
//
|
||||
暗码写入时间.AutoSizeMode = DataGridViewAutoSizeColumnMode.ColumnHeader;
|
||||
暗码写入时间.FillWeight = 300F;
|
||||
暗码写入时间.HeaderText = "暗码写入时间";
|
||||
暗码写入时间.Name = "暗码写入时间";
|
||||
暗码写入时间.ReadOnly = true;
|
||||
暗码写入时间.Width = 105;
|
||||
//
|
||||
// MainForm
|
||||
//
|
||||
ClientSize = new Size(791, 419);
|
||||
Controls.Add(txtFolder);
|
||||
Controls.Add(btnBrowse);
|
||||
Controls.Add(dgv);
|
||||
Controls.Add(btnRead);
|
||||
FormBorderStyle = FormBorderStyle.FixedDialog;
|
||||
MaximizeBox = false;
|
||||
Name = "MainForm";
|
||||
Text = "二一教育暗码读取工具1.0.0.5";
|
||||
Load += MainForm_Load;
|
||||
((System.ComponentModel.ISupportInitialize)dgv).EndInit();
|
||||
ResumeLayout(false);
|
||||
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;
|
||||
private System.Windows.Forms.DataGridView dgv;
|
||||
private DataGridViewTextBoxColumn Filename;
|
||||
private DataGridViewTextBoxColumn eryi_ID;
|
||||
private DataGridViewTextBoxColumn 下载者用户名;
|
||||
private DataGridViewTextBoxColumn 暗码写入时间;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user