private void Form1_Load(object sender, EventArgs e)
{
//skinListView1.Dock = DockStyle.Fill;
skinListView1.View = View.Details;
skinListView1.GridLines = true;
skinListView1.CheckBoxes = true;
skinListView1.Columns.Add("姓名");
skinListView1.Columns.Add("性别");
skinListView1.Columns.Add("出生日期");
var item1 = new ListViewItem("谢");
item1.Checked = true;
item1.SubItems.Add("男");
item1.SubItems.Add("1992");
skinListView1.Items.Add(item1);
}
|
|