diff --git a/labs/CameraCard/CameraCard/MainForm.Designer.cs b/labs/CameraCard/CameraCard/MainForm.Designer.cs index cec09fc5..f1085bc3 100644 --- a/labs/CameraCard/CameraCard/MainForm.Designer.cs +++ b/labs/CameraCard/CameraCard/MainForm.Designer.cs @@ -68,18 +68,6 @@ this.label1 = new System.Windows.Forms.Label(); this.classSelector = new System.Windows.Forms.ComboBox(); this.dataGrid = new System.Windows.Forms.DataGridView(); - this.StudentName = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.Sex = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.Nation = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.IdCardNo = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.Class = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.Number = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.Image = new System.Windows.Forms.DataGridViewImageColumn(); - this.HasImage = new System.Windows.Forms.DataGridViewCheckBoxColumn(); - this.HasIdCard = new System.Windows.Forms.DataGridViewCheckBoxColumn(); - this.HasChedked = new System.Windows.Forms.DataGridViewCheckBoxColumn(); - this.HasUploaded = new System.Windows.Forms.DataGridViewCheckBoxColumn(); - this.StudentId = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.tab4 = new System.Windows.Forms.TabPage(); this.tabControl2 = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); @@ -91,7 +79,6 @@ this.statusLabel = new System.Windows.Forms.ToolStripStatusLabel(); this.versionLabel = new System.Windows.Forms.ToolStripStatusLabel(); this.save = new System.Windows.Forms.Button(); - this.idCard = new CameraCard.IdCard(); this.stuName = new System.Windows.Forms.Label(); this.stuSex = new System.Windows.Forms.Label(); this.stuNation = new System.Windows.Forms.Label(); @@ -106,6 +93,19 @@ this.stuYear = new System.Windows.Forms.Label(); this.stuClassNo = new System.Windows.Forms.Label(); this.stuNameValue = new System.Windows.Forms.Label(); + this.idCard = new CameraCard.IdCard(); + this.StudentName = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Sex = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Nation = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.IdCardNo = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Class = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Number = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Image = new System.Windows.Forms.DataGridViewImageColumn(); + this.HasImage = new System.Windows.Forms.DataGridViewCheckBoxColumn(); + this.HasIdCard = new System.Windows.Forms.DataGridViewCheckBoxColumn(); + this.HasChedked = new System.Windows.Forms.DataGridViewCheckBoxColumn(); + this.HasUploaded = new System.Windows.Forms.DataGridViewCheckBoxColumn(); + this.StudentId = new System.Windows.Forms.DataGridViewTextBoxColumn(); tab1 = new System.Windows.Forms.TabPage(); tab1.SuspendLayout(); this.idcGroupBox.SuspendLayout(); @@ -580,94 +580,6 @@ this.dataGrid.VirtualMode = true; this.dataGrid.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.grid_CellFormatting); // - // StudentName - // - this.StudentName.DataPropertyName = "Name"; - this.StudentName.HeaderText = "姓名"; - this.StudentName.Name = "StudentName"; - this.StudentName.ReadOnly = true; - // - // Sex - // - this.Sex.DataPropertyName = "Sex"; - this.Sex.HeaderText = "性别"; - this.Sex.Name = "Sex"; - this.Sex.ReadOnly = true; - // - // Nation - // - this.Nation.DataPropertyName = "Nation"; - this.Nation.HeaderText = "民族"; - this.Nation.Name = "Nation"; - this.Nation.ReadOnly = true; - // - // IdCardNo - // - this.IdCardNo.DataPropertyName = "IdCardNo"; - this.IdCardNo.HeaderText = "身份证号"; - this.IdCardNo.Name = "IdCardNo"; - this.IdCardNo.ReadOnly = true; - // - // Class - // - this.Class.DataPropertyName = "Class"; - this.Class.HeaderText = "班级"; - this.Class.Name = "Class"; - this.Class.ReadOnly = true; - // - // Number - // - this.Number.DataPropertyName = "Number"; - this.Number.HeaderText = "学籍号"; - this.Number.Name = "Number"; - this.Number.ReadOnly = true; - // - // Image - // - this.Image.DataPropertyName = "Image"; - this.Image.HeaderText = "图像"; - this.Image.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Zoom; - this.Image.Name = "Image"; - this.Image.ReadOnly = true; - // - // HasImage - // - this.HasImage.DataPropertyName = "HasImage"; - this.HasImage.HeaderText = "已采集"; - this.HasImage.Name = "HasImage"; - this.HasImage.ReadOnly = true; - // - // HasIdCard - // - this.HasIdCard.DataPropertyName = "HasIdCard"; - this.HasIdCard.HeaderText = "已验证身份证"; - this.HasIdCard.Name = "HasIdCard"; - this.HasIdCard.ReadOnly = true; - // - // HasChedked - // - this.HasChedked.DataPropertyName = "HasChecked"; - this.HasChedked.HeaderText = "已审核"; - this.HasChedked.Name = "HasChedked"; - this.HasChedked.ReadOnly = true; - this.HasChedked.Resizable = System.Windows.Forms.DataGridViewTriState.True; - this.HasChedked.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; - // - // HasUploaded - // - this.HasUploaded.DataPropertyName = "HasUploaded"; - this.HasUploaded.HeaderText = "已上传"; - this.HasUploaded.Name = "HasUploaded"; - this.HasUploaded.ReadOnly = true; - // - // StudentId - // - this.StudentId.DataPropertyName = "Id"; - this.StudentId.HeaderText = "Id"; - this.StudentId.Name = "StudentId"; - this.StudentId.ReadOnly = true; - this.StudentId.Visible = false; - // // tab4 // this.tab4.Controls.Add(this.tabControl2); @@ -780,13 +692,6 @@ this.save.UseVisualStyleBackColor = true; this.save.Click += new System.EventHandler(this.save_Click); // - // idCard - // - this.idCard.Location = new System.Drawing.Point(-1, 16); - this.idCard.Name = "idCard"; - this.idCard.Size = new System.Drawing.Size(420, 200); - this.idCard.TabIndex = 8; - // // stuName // this.stuName.AutoSize = true; @@ -913,6 +818,101 @@ this.stuNameValue.TabIndex = 19; this.stuNameValue.Text = "空"; // + // idCard + // + this.idCard.Location = new System.Drawing.Point(-1, 16); + this.idCard.Name = "idCard"; + this.idCard.Size = new System.Drawing.Size(420, 200); + this.idCard.TabIndex = 8; + // + // StudentName + // + this.StudentName.DataPropertyName = "Name"; + this.StudentName.HeaderText = "姓名"; + this.StudentName.Name = "StudentName"; + this.StudentName.ReadOnly = true; + // + // Sex + // + this.Sex.DataPropertyName = "Sex"; + this.Sex.HeaderText = "性别"; + this.Sex.Name = "Sex"; + this.Sex.ReadOnly = true; + // + // Nation + // + this.Nation.DataPropertyName = "Nation"; + this.Nation.HeaderText = "民族"; + this.Nation.Name = "Nation"; + this.Nation.ReadOnly = true; + // + // IdCardNo + // + this.IdCardNo.DataPropertyName = "IdCardNo"; + this.IdCardNo.HeaderText = "身份证号"; + this.IdCardNo.Name = "IdCardNo"; + this.IdCardNo.ReadOnly = true; + // + // Class + // + this.Class.DataPropertyName = "Class"; + this.Class.HeaderText = "班级"; + this.Class.Name = "Class"; + this.Class.ReadOnly = true; + // + // Number + // + this.Number.DataPropertyName = "Number"; + this.Number.HeaderText = "学籍号"; + this.Number.Name = "Number"; + this.Number.ReadOnly = true; + // + // Image + // + this.Image.DataPropertyName = "Image"; + this.Image.HeaderText = "图像"; + this.Image.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Zoom; + this.Image.Name = "Image"; + this.Image.ReadOnly = true; + // + // HasImage + // + this.HasImage.DataPropertyName = "HasImage"; + this.HasImage.HeaderText = "已采集"; + this.HasImage.Name = "HasImage"; + this.HasImage.ReadOnly = true; + // + // HasIdCard + // + this.HasIdCard.DataPropertyName = "HasIdCard"; + this.HasIdCard.HeaderText = "已验证身份证"; + this.HasIdCard.Name = "HasIdCard"; + this.HasIdCard.ReadOnly = true; + // + // HasChedked + // + this.HasChedked.DataPropertyName = "HasChecked"; + this.HasChedked.HeaderText = "已审核"; + this.HasChedked.Name = "HasChedked"; + this.HasChedked.ReadOnly = true; + this.HasChedked.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.HasChedked.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + // + // HasUploaded + // + this.HasUploaded.DataPropertyName = "HasUploaded"; + this.HasUploaded.HeaderText = "已上传"; + this.HasUploaded.Name = "HasUploaded"; + this.HasUploaded.ReadOnly = true; + // + // StudentId + // + this.StudentId.DataPropertyName = "Id"; + this.StudentId.HeaderText = "Id"; + this.StudentId.Name = "StudentId"; + this.StudentId.ReadOnly = true; + this.StudentId.Visible = false; + // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); @@ -998,18 +998,6 @@ private System.Windows.Forms.ComboBox pageIndexSelector; private System.Windows.Forms.FlowLayoutPanel pageMenu; private System.Windows.Forms.Label totalPageValue; - private System.Windows.Forms.DataGridViewTextBoxColumn StudentName; - private System.Windows.Forms.DataGridViewTextBoxColumn Sex; - private System.Windows.Forms.DataGridViewTextBoxColumn Nation; - private System.Windows.Forms.DataGridViewTextBoxColumn IdCardNo; - private System.Windows.Forms.DataGridViewTextBoxColumn Class; - private System.Windows.Forms.DataGridViewTextBoxColumn Number; - private System.Windows.Forms.DataGridViewImageColumn Image; - private System.Windows.Forms.DataGridViewCheckBoxColumn HasImage; - private System.Windows.Forms.DataGridViewCheckBoxColumn HasIdCard; - private System.Windows.Forms.DataGridViewCheckBoxColumn HasChedked; - private System.Windows.Forms.DataGridViewCheckBoxColumn HasUploaded; - private System.Windows.Forms.DataGridViewTextBoxColumn StudentId; private System.Windows.Forms.Button pull; private System.Windows.Forms.Button push; private System.Windows.Forms.Button save; @@ -1027,5 +1015,17 @@ private System.Windows.Forms.Label stuSex; private System.Windows.Forms.Label stuName; private System.Windows.Forms.Label stuNameValue; + private System.Windows.Forms.DataGridViewTextBoxColumn StudentName; + private System.Windows.Forms.DataGridViewTextBoxColumn Sex; + private System.Windows.Forms.DataGridViewTextBoxColumn Nation; + private System.Windows.Forms.DataGridViewTextBoxColumn IdCardNo; + private System.Windows.Forms.DataGridViewTextBoxColumn Class; + private System.Windows.Forms.DataGridViewTextBoxColumn Number; + private System.Windows.Forms.DataGridViewImageColumn Image; + private System.Windows.Forms.DataGridViewCheckBoxColumn HasImage; + private System.Windows.Forms.DataGridViewCheckBoxColumn HasIdCard; + private System.Windows.Forms.DataGridViewCheckBoxColumn HasChedked; + private System.Windows.Forms.DataGridViewCheckBoxColumn HasUploaded; + private System.Windows.Forms.DataGridViewTextBoxColumn StudentId; } } \ No newline at end of file