private void listView1_DoubleClick(object sender, EventArgs e) { var si = listView1.SelectedItems[0]; var frm = new replay(si.SubItems[5].Text); frm.Show(); }
private void button1_Click(object sender, EventArgs e) { if (listView1.SelectedItems.Count <= 0) { MessageBox.Show("未选中录像文件"); return; } var si = listView1.SelectedItems[0]; var frm = new replay(si.SubItems[5].Text); frm.Show(); }
private void button1_Click(object sender, EventArgs e) { var whd = new replay(); whd.Show(); }