private void shutdownToolStripMenuItem_Click(object sender, EventArgs e) { ListViewItem item = ListViewComps.SelectedItems[0]; ShutDownForm shutdownform = new ShutDownForm(this, pythonListener, item); shutdownform.ShowDialog(); }
private void ShutDownAll_Click(object sender, EventArgs e) { ListViewItem item = new ListViewItem("All"); item.SubItems.Add("All"); ShutDownForm shutdownform = new ShutDownForm(this, pythonListener, item); shutdownform.ShowDialog(); }