Пример #1
0
 private void listViewServices_SelectedIndexChanged(object sender, EventArgs e)
 {
     FormService f = new FormService(listViewServices.SelectedItems.IndexOf(listViewServices.FocusedItem)+1);
     f.ShowDialog();
 }
Пример #2
0
 private void listViewServices_ItemActivate(object sender, EventArgs e)
 {
     FormService f = new FormService(listViewServices.SelectedIndices[0]);
     f.ShowDialog();
 }