C#应用程序窗体错误
错误 2 无法将类型“string”隐式转换为“System.Windows.Forms.ColumnHeader” E:\MySchool\MySchool\SearchStudentForm.Designer.cs 191 25 MySchool
以上是错误提示
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(797, 426);
this.Controls.Add(this.listView1);
this.Controls.Add(this.txtSearch);
this.Controls.Add(btnSearch);
this.Controls.Add(this.label1);
this.Controls.Add(this.cboSearch);
this.Name = "SearchStudentForm"; 错误标记的地方
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "查找学员用户";
this.ResumeLayout(false);
this.PerformLayout();