コード例 #1
0
 private void lvMethods_DoubleClick(object sender, EventArgs e)
 {
     if (lvMethods.SelectedItems.Count == 1)
     {
         frmDescription frmDescription = new frmDescription(lvMethods.SelectedItems[0].Text, lvMethods.SelectedItems[0].SubItems[1].Text);
         frmDescription.ShowDialog();
     }
 }
コード例 #2
0
 private void lvProperties_DoubleClick(object sender, EventArgs e)
 {
     if (lvProperties.SelectedItems.Count == 1 && lvProperties.SelectedItems[0].SubItems.Count == 4)
     {
         frmDescription frmDescription = new frmDescription(lvProperties.SelectedItems[0].Text, lvProperties.SelectedItems[0].SubItems[3].Text);
         frmDescription.ShowDialog();
     }
 }