下拉列表修改为运行时不可手动编辑输入

Former-commit-id: c2f9f67a578d8ecc55f69f55e4ed3efb9bbd54f7
TangShanKaiPing
wanggang 5 years ago
parent 0e19373974
commit 74be0c8c97

@ -36,6 +36,18 @@
this.save = new System.Windows.Forms.Button();
this.idcGroupBox = new System.Windows.Forms.GroupBox();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.stuSchoolValue = new System.Windows.Forms.Label();
this.stuYearValue = new System.Windows.Forms.Label();
this.stuClassValue = new System.Windows.Forms.Label();
this.stuStudentTypeValue = new System.Windows.Forms.Label();
this.stuLanguageNoValue = new System.Windows.Forms.Label();
this.stuExamNoValue = new System.Windows.Forms.Label();
this.stuStudentNoValue = new System.Windows.Forms.Label();
this.stuCardNoValue = new System.Windows.Forms.Label();
this.stuCardTypeValue = new System.Windows.Forms.Label();
this.stuBirthdayValue = new System.Windows.Forms.Label();
this.stuNationValue = new System.Windows.Forms.Label();
this.stuSexValue = new System.Windows.Forms.Label();
this.stuNameValue = new System.Windows.Forms.Label();
this.stuClassNo = new System.Windows.Forms.Label();
this.stuYear = new System.Windows.Forms.Label();
@ -68,6 +80,14 @@
this.tab2 = new System.Windows.Forms.TabPage();
this.groupGrid = new System.Windows.Forms.DataGridView();
this.tab3 = new System.Windows.Forms.TabPage();
this.cardStatusSelector = new System.Windows.Forms.ComboBox();
this.label7 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.checkStatusSelector = new System.Windows.Forms.ComboBox();
this.uploadStatusSelector = new System.Windows.Forms.ComboBox();
this.label5 = new System.Windows.Forms.Label();
this.imageStatusSelector = new System.Windows.Forms.ComboBox();
this.label4 = new System.Windows.Forms.Label();
this.pull = new System.Windows.Forms.Button();
this.push = new System.Windows.Forms.Button();
this.totalPageValue = new System.Windows.Forms.Label();
@ -83,36 +103,6 @@
this.label1 = new System.Windows.Forms.Label();
this.classSelector = new System.Windows.Forms.ComboBox();
this.dataGrid = new System.Windows.Forms.DataGridView();
this.tab4 = new System.Windows.Forms.TabPage();
this.tabControl2 = new System.Windows.Forms.TabControl();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.checkUpdate = new System.Windows.Forms.Button();
this.tabPage2 = new System.Windows.Forms.TabPage();
this.tabPage3 = new System.Windows.Forms.TabPage();
this.tabPage4 = new System.Windows.Forms.TabPage();
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.statusLabel = new System.Windows.Forms.ToolStripStatusLabel();
this.versionLabel = new System.Windows.Forms.ToolStripStatusLabel();
this.label4 = new System.Windows.Forms.Label();
this.imageStatusSelector = new System.Windows.Forms.ComboBox();
this.uploadStatusSelector = new System.Windows.Forms.ComboBox();
this.label5 = new System.Windows.Forms.Label();
this.checkStatusSelector = new System.Windows.Forms.ComboBox();
this.label6 = new System.Windows.Forms.Label();
this.cardStatusSelector = new System.Windows.Forms.ComboBox();
this.label7 = new System.Windows.Forms.Label();
this.stuSexValue = new System.Windows.Forms.Label();
this.stuNationValue = new System.Windows.Forms.Label();
this.stuBirthdayValue = new System.Windows.Forms.Label();
this.stuCardTypeValue = new System.Windows.Forms.Label();
this.stuCardNoValue = new System.Windows.Forms.Label();
this.stuStudentNoValue = new System.Windows.Forms.Label();
this.stuExamNoValue = new System.Windows.Forms.Label();
this.stuLanguageNoValue = new System.Windows.Forms.Label();
this.stuStudentTypeValue = new System.Windows.Forms.Label();
this.stuClassValue = new System.Windows.Forms.Label();
this.stuYearValue = new System.Windows.Forms.Label();
this.stuSchoolValue = new System.Windows.Forms.Label();
this.StudentName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Sex = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Nation = new System.Windows.Forms.DataGridViewTextBoxColumn();
@ -125,6 +115,16 @@
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();
this.checkUpdate = new System.Windows.Forms.Button();
this.tabPage2 = new System.Windows.Forms.TabPage();
this.tabPage3 = new System.Windows.Forms.TabPage();
this.tabPage4 = new System.Windows.Forms.TabPage();
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.statusLabel = new System.Windows.Forms.ToolStripStatusLabel();
this.versionLabel = new System.Windows.Forms.ToolStripStatusLabel();
this.idCard = new CameraCard.IdCard();
tab1 = new System.Windows.Forms.TabPage();
tab1.SuspendLayout();
@ -223,6 +223,114 @@
this.groupBox1.TabStop = false;
this.groupBox1.Text = "学生考籍信息";
//
// stuSchoolValue
//
this.stuSchoolValue.AutoSize = true;
this.stuSchoolValue.Location = new System.Drawing.Point(78, 227);
this.stuSchoolValue.Name = "stuSchoolValue";
this.stuSchoolValue.Size = new System.Drawing.Size(17, 12);
this.stuSchoolValue.TabIndex = 31;
this.stuSchoolValue.Text = "空";
//
// stuYearValue
//
this.stuYearValue.AutoSize = true;
this.stuYearValue.Location = new System.Drawing.Point(78, 204);
this.stuYearValue.Name = "stuYearValue";
this.stuYearValue.Size = new System.Drawing.Size(17, 12);
this.stuYearValue.TabIndex = 30;
this.stuYearValue.Text = "空";
//
// stuClassValue
//
this.stuClassValue.AutoSize = true;
this.stuClassValue.Location = new System.Drawing.Point(78, 181);
this.stuClassValue.Name = "stuClassValue";
this.stuClassValue.Size = new System.Drawing.Size(17, 12);
this.stuClassValue.TabIndex = 29;
this.stuClassValue.Text = "空";
//
// stuStudentTypeValue
//
this.stuStudentTypeValue.AutoSize = true;
this.stuStudentTypeValue.Location = new System.Drawing.Point(215, 157);
this.stuStudentTypeValue.Name = "stuStudentTypeValue";
this.stuStudentTypeValue.Size = new System.Drawing.Size(17, 12);
this.stuStudentTypeValue.TabIndex = 28;
this.stuStudentTypeValue.Text = "空";
//
// stuLanguageNoValue
//
this.stuLanguageNoValue.AutoSize = true;
this.stuLanguageNoValue.Location = new System.Drawing.Point(90, 158);
this.stuLanguageNoValue.Name = "stuLanguageNoValue";
this.stuLanguageNoValue.Size = new System.Drawing.Size(17, 12);
this.stuLanguageNoValue.TabIndex = 27;
this.stuLanguageNoValue.Text = "空";
//
// stuExamNoValue
//
this.stuExamNoValue.AutoSize = true;
this.stuExamNoValue.Location = new System.Drawing.Point(54, 136);
this.stuExamNoValue.Name = "stuExamNoValue";
this.stuExamNoValue.Size = new System.Drawing.Size(17, 12);
this.stuExamNoValue.TabIndex = 26;
this.stuExamNoValue.Text = "空";
//
// stuStudentNoValue
//
this.stuStudentNoValue.AutoSize = true;
this.stuStudentNoValue.Location = new System.Drawing.Point(55, 115);
this.stuStudentNoValue.Name = "stuStudentNoValue";
this.stuStudentNoValue.Size = new System.Drawing.Size(17, 12);
this.stuStudentNoValue.TabIndex = 25;
this.stuStudentNoValue.Text = "空";
//
// stuCardNoValue
//
this.stuCardNoValue.AutoSize = true;
this.stuCardNoValue.Location = new System.Drawing.Point(67, 92);
this.stuCardNoValue.Name = "stuCardNoValue";
this.stuCardNoValue.Size = new System.Drawing.Size(17, 12);
this.stuCardNoValue.TabIndex = 24;
this.stuCardNoValue.Text = "空";
//
// stuCardTypeValue
//
this.stuCardTypeValue.AutoSize = true;
this.stuCardTypeValue.Location = new System.Drawing.Point(67, 69);
this.stuCardTypeValue.Name = "stuCardTypeValue";
this.stuCardTypeValue.Size = new System.Drawing.Size(17, 12);
this.stuCardTypeValue.TabIndex = 23;
this.stuCardTypeValue.Text = "空";
//
// stuBirthdayValue
//
this.stuBirthdayValue.AutoSize = true;
this.stuBirthdayValue.Location = new System.Drawing.Point(67, 43);
this.stuBirthdayValue.Name = "stuBirthdayValue";
this.stuBirthdayValue.Size = new System.Drawing.Size(17, 12);
this.stuBirthdayValue.TabIndex = 22;
this.stuBirthdayValue.Text = "空";
//
// stuNationValue
//
this.stuNationValue.AutoSize = true;
this.stuNationValue.Location = new System.Drawing.Point(259, 21);
this.stuNationValue.Name = "stuNationValue";
this.stuNationValue.Size = new System.Drawing.Size(17, 12);
this.stuNationValue.TabIndex = 21;
this.stuNationValue.Text = "空";
//
// stuSexValue
//
this.stuSexValue.AutoSize = true;
this.stuSexValue.Location = new System.Drawing.Point(146, 21);
this.stuSexValue.Name = "stuSexValue";
this.stuSexValue.Size = new System.Drawing.Size(17, 12);
this.stuSexValue.TabIndex = 20;
this.stuSexValue.Text = "空";
//
// stuNameValue
//
this.stuNameValue.AutoSize = true;
@ -469,6 +577,7 @@
// cameraSelector
//
this.cameraSelector.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.cameraSelector.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cameraSelector.FormattingEnabled = true;
this.cameraSelector.Location = new System.Drawing.Point(605, 5);
this.cameraSelector.Name = "cameraSelector";
@ -577,6 +686,94 @@
this.tab3.Text = "图像管理";
this.tab3.UseVisualStyleBackColor = true;
//
// cardStatusSelector
//
this.cardStatusSelector.DisplayMember = "Text";
this.cardStatusSelector.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cardStatusSelector.FormattingEnabled = true;
this.cardStatusSelector.Location = new System.Drawing.Point(519, 21);
this.cardStatusSelector.Name = "cardStatusSelector";
this.cardStatusSelector.Size = new System.Drawing.Size(69, 20);
this.cardStatusSelector.TabIndex = 23;
this.cardStatusSelector.ValueMember = "Value";
this.cardStatusSelector.SelectedIndexChanged += new System.EventHandler(this.cardStatusSelector_SelectedIndexChanged);
//
// label7
//
this.label7.AutoSize = true;
this.label7.Location = new System.Drawing.Point(482, 25);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(41, 12);
this.label7.TabIndex = 22;
this.label7.Text = "证件:";
//
// label6
//
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(825, 24);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(41, 12);
this.label6.TabIndex = 21;
this.label6.Text = "审核:";
//
// checkStatusSelector
//
this.checkStatusSelector.DisplayMember = "Text";
this.checkStatusSelector.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.checkStatusSelector.FormattingEnabled = true;
this.checkStatusSelector.Items.AddRange(new object[] {
"test1",
"test2",
"test3"});
this.checkStatusSelector.Location = new System.Drawing.Point(867, 20);
this.checkStatusSelector.Name = "checkStatusSelector";
this.checkStatusSelector.Size = new System.Drawing.Size(66, 20);
this.checkStatusSelector.TabIndex = 20;
this.checkStatusSelector.ValueMember = "Value";
this.checkStatusSelector.SelectedIndexChanged += new System.EventHandler(this.checkStatusSelector_SelectedIndexChanged);
//
// uploadStatusSelector
//
this.uploadStatusSelector.DisplayMember = "Text";
this.uploadStatusSelector.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.uploadStatusSelector.FormattingEnabled = true;
this.uploadStatusSelector.Location = new System.Drawing.Point(752, 21);
this.uploadStatusSelector.Name = "uploadStatusSelector";
this.uploadStatusSelector.Size = new System.Drawing.Size(69, 20);
this.uploadStatusSelector.TabIndex = 19;
this.uploadStatusSelector.ValueMember = "Value";
this.uploadStatusSelector.SelectedIndexChanged += new System.EventHandler(this.uploadStatusSelector_SelectedIndexChanged);
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(715, 25);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(41, 12);
this.label5.TabIndex = 18;
this.label5.Text = "上传:";
//
// imageStatusSelector
//
this.imageStatusSelector.DisplayMember = "Text";
this.imageStatusSelector.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.imageStatusSelector.FormattingEnabled = true;
this.imageStatusSelector.Location = new System.Drawing.Point(638, 21);
this.imageStatusSelector.Name = "imageStatusSelector";
this.imageStatusSelector.Size = new System.Drawing.Size(69, 20);
this.imageStatusSelector.TabIndex = 17;
this.imageStatusSelector.ValueMember = "Value";
this.imageStatusSelector.SelectedIndexChanged += new System.EventHandler(this.imageStatusSelctor_SelectedIndexChanged);
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(601, 25);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(41, 12);
this.label4.TabIndex = 16;
this.label4.Text = "采集:";
//
// pull
//
this.pull.Location = new System.Drawing.Point(6, 18);
@ -703,6 +900,7 @@
// classSelector
//
this.classSelector.DisplayMember = "Class";
this.classSelector.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.classSelector.FormattingEnabled = true;
this.classSelector.Location = new System.Drawing.Point(160, 21);
this.classSelector.Name = "classSelector";
@ -758,10 +956,98 @@
this.dataGrid.VirtualMode = true;
this.dataGrid.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.grid_CellFormatting);
//
// tab4
// StudentName
//
this.tab4.Controls.Add(this.tabControl2);
this.tab4.Location = new System.Drawing.Point(4, 22);
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;
//
// StudentNo
//
this.StudentNo.DataPropertyName = "StudentNo";
this.StudentNo.HeaderText = "学籍号";
this.StudentNo.Name = "StudentNo";
this.StudentNo.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);
this.tab4.Location = new System.Drawing.Point(4, 22);
this.tab4.Name = "tab4";
this.tab4.Padding = new System.Windows.Forms.Padding(3);
this.tab4.Size = new System.Drawing.Size(1000, 703);
@ -859,286 +1145,6 @@
this.versionLabel.Size = new System.Drawing.Size(14, 17);
this.versionLabel.Text = "v";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(601, 25);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(41, 12);
this.label4.TabIndex = 16;
this.label4.Text = "采集:";
//
// imageStatusSelector
//
this.imageStatusSelector.DisplayMember = "Text";
this.imageStatusSelector.FormattingEnabled = true;
this.imageStatusSelector.Location = new System.Drawing.Point(638, 21);
this.imageStatusSelector.Name = "imageStatusSelector";
this.imageStatusSelector.Size = new System.Drawing.Size(69, 20);
this.imageStatusSelector.TabIndex = 17;
this.imageStatusSelector.ValueMember = "Value";
this.imageStatusSelector.SelectedIndexChanged += new System.EventHandler(this.imageStatusSelctor_SelectedIndexChanged);
//
// uploadStatusSelector
//
this.uploadStatusSelector.DisplayMember = "Text";
this.uploadStatusSelector.FormattingEnabled = true;
this.uploadStatusSelector.Location = new System.Drawing.Point(752, 21);
this.uploadStatusSelector.Name = "uploadStatusSelector";
this.uploadStatusSelector.Size = new System.Drawing.Size(69, 20);
this.uploadStatusSelector.TabIndex = 19;
this.uploadStatusSelector.ValueMember = "Value";
this.uploadStatusSelector.SelectedIndexChanged += new System.EventHandler(this.uploadStatusSelector_SelectedIndexChanged);
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(715, 25);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(41, 12);
this.label5.TabIndex = 18;
this.label5.Text = "上传:";
//
// checkStatusSelector
//
this.checkStatusSelector.DisplayMember = "Text";
this.checkStatusSelector.FormattingEnabled = true;
this.checkStatusSelector.Items.AddRange(new object[] {
"test1",
"test2",
"test3"});
this.checkStatusSelector.Location = new System.Drawing.Point(867, 20);
this.checkStatusSelector.Name = "checkStatusSelector";
this.checkStatusSelector.Size = new System.Drawing.Size(66, 20);
this.checkStatusSelector.TabIndex = 20;
this.checkStatusSelector.ValueMember = "Value";
this.checkStatusSelector.SelectedIndexChanged += new System.EventHandler(this.checkStatusSelector_SelectedIndexChanged);
//
// label6
//
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(825, 24);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(41, 12);
this.label6.TabIndex = 21;
this.label6.Text = "审核:";
//
// cardStatusSelector
//
this.cardStatusSelector.DisplayMember = "Text";
this.cardStatusSelector.FormattingEnabled = true;
this.cardStatusSelector.Location = new System.Drawing.Point(519, 21);
this.cardStatusSelector.Name = "cardStatusSelector";
this.cardStatusSelector.Size = new System.Drawing.Size(69, 20);
this.cardStatusSelector.TabIndex = 23;
this.cardStatusSelector.ValueMember = "Value";
this.cardStatusSelector.SelectedIndexChanged += new System.EventHandler(this.cardStatusSelector_SelectedIndexChanged);
//
// label7
//
this.label7.AutoSize = true;
this.label7.Location = new System.Drawing.Point(482, 25);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(41, 12);
this.label7.TabIndex = 22;
this.label7.Text = "证件:";
//
// stuSexValue
//
this.stuSexValue.AutoSize = true;
this.stuSexValue.Location = new System.Drawing.Point(146, 21);
this.stuSexValue.Name = "stuSexValue";
this.stuSexValue.Size = new System.Drawing.Size(17, 12);
this.stuSexValue.TabIndex = 20;
this.stuSexValue.Text = "空";
//
// stuNationValue
//
this.stuNationValue.AutoSize = true;
this.stuNationValue.Location = new System.Drawing.Point(259, 21);
this.stuNationValue.Name = "stuNationValue";
this.stuNationValue.Size = new System.Drawing.Size(17, 12);
this.stuNationValue.TabIndex = 21;
this.stuNationValue.Text = "空";
//
// stuBirthdayValue
//
this.stuBirthdayValue.AutoSize = true;
this.stuBirthdayValue.Location = new System.Drawing.Point(67, 43);
this.stuBirthdayValue.Name = "stuBirthdayValue";
this.stuBirthdayValue.Size = new System.Drawing.Size(17, 12);
this.stuBirthdayValue.TabIndex = 22;
this.stuBirthdayValue.Text = "空";
//
// stuCardTypeValue
//
this.stuCardTypeValue.AutoSize = true;
this.stuCardTypeValue.Location = new System.Drawing.Point(67, 69);
this.stuCardTypeValue.Name = "stuCardTypeValue";
this.stuCardTypeValue.Size = new System.Drawing.Size(17, 12);
this.stuCardTypeValue.TabIndex = 23;
this.stuCardTypeValue.Text = "空";
//
// stuCardNoValue
//
this.stuCardNoValue.AutoSize = true;
this.stuCardNoValue.Location = new System.Drawing.Point(67, 92);
this.stuCardNoValue.Name = "stuCardNoValue";
this.stuCardNoValue.Size = new System.Drawing.Size(17, 12);
this.stuCardNoValue.TabIndex = 24;
this.stuCardNoValue.Text = "空";
//
// stuStudentNoValue
//
this.stuStudentNoValue.AutoSize = true;
this.stuStudentNoValue.Location = new System.Drawing.Point(55, 115);
this.stuStudentNoValue.Name = "stuStudentNoValue";
this.stuStudentNoValue.Size = new System.Drawing.Size(17, 12);
this.stuStudentNoValue.TabIndex = 25;
this.stuStudentNoValue.Text = "空";
//
// stuExamNoValue
//
this.stuExamNoValue.AutoSize = true;
this.stuExamNoValue.Location = new System.Drawing.Point(54, 136);
this.stuExamNoValue.Name = "stuExamNoValue";
this.stuExamNoValue.Size = new System.Drawing.Size(17, 12);
this.stuExamNoValue.TabIndex = 26;
this.stuExamNoValue.Text = "空";
//
// stuLanguageNoValue
//
this.stuLanguageNoValue.AutoSize = true;
this.stuLanguageNoValue.Location = new System.Drawing.Point(90, 158);
this.stuLanguageNoValue.Name = "stuLanguageNoValue";
this.stuLanguageNoValue.Size = new System.Drawing.Size(17, 12);
this.stuLanguageNoValue.TabIndex = 27;
this.stuLanguageNoValue.Text = "空";
//
// stuStudentTypeValue
//
this.stuStudentTypeValue.AutoSize = true;
this.stuStudentTypeValue.Location = new System.Drawing.Point(215, 157);
this.stuStudentTypeValue.Name = "stuStudentTypeValue";
this.stuStudentTypeValue.Size = new System.Drawing.Size(17, 12);
this.stuStudentTypeValue.TabIndex = 28;
this.stuStudentTypeValue.Text = "空";
//
// stuClassValue
//
this.stuClassValue.AutoSize = true;
this.stuClassValue.Location = new System.Drawing.Point(78, 181);
this.stuClassValue.Name = "stuClassValue";
this.stuClassValue.Size = new System.Drawing.Size(17, 12);
this.stuClassValue.TabIndex = 29;
this.stuClassValue.Text = "空";
//
// stuYearValue
//
this.stuYearValue.AutoSize = true;
this.stuYearValue.Location = new System.Drawing.Point(78, 204);
this.stuYearValue.Name = "stuYearValue";
this.stuYearValue.Size = new System.Drawing.Size(17, 12);
this.stuYearValue.TabIndex = 30;
this.stuYearValue.Text = "空";
//
// stuSchoolValue
//
this.stuSchoolValue.AutoSize = true;
this.stuSchoolValue.Location = new System.Drawing.Point(78, 227);
this.stuSchoolValue.Name = "stuSchoolValue";
this.stuSchoolValue.Size = new System.Drawing.Size(17, 12);
this.stuSchoolValue.TabIndex = 31;
this.stuSchoolValue.Text = "空";
//
// 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;
//
// StudentNo
//
this.StudentNo.DataPropertyName = "StudentNo";
this.StudentNo.HeaderText = "学籍号";
this.StudentNo.Name = "StudentNo";
this.StudentNo.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;
//
// idCard
//
this.idCard.Location = new System.Drawing.Point(-1, 16);

@ -709,7 +709,7 @@ namespace CameraCard
{
using (var db = new MyDbContext())
{
var query = db.Set<Student>().AsQueryable().Where(o => o.HasImage);
var query = db.Set<Student>().AsQueryable();//.Where(o => o.HasImage);
if (classSelector.Text != "全部")
{
var classValue = imageStatusSelector.SelectedValue as string;

Loading…
Cancel
Save