/// <summary> /// 触发名称修改 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void toolStripTextBoxName_Click(object sender, EventArgs e) { ToolStripTextBox text = (ToolStripTextBox)sender; if (text.Text == "修改名称") { text.Text = listViewTrack.SelectedItems[0].SubItems[5].Text; text.Select(text.TextLength, 0); } }