private void 更改配置toolStripMenuItem_Click(object sender, EventArgs e) { if (listView1.SelectedItems.Count == 0) { return; } CsdnHelper item = (CsdnHelper)listView1.SelectedItems[0].Tag; if (item != null) { FormSetting fset = new FormSetting(item); fset.ShowDialog(); } }