コード例 #1
0
 private void patchesToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (productList.SelectedItems.Count == 1)
     {
         ListViewItem lvi         = productList.SelectedItems[0];
         string       productCode = lvi.SubItems[CatalogForm.ColProdCode].Text;
         PatchForm    dlg         = new PatchForm(productCode);
         dlg.ShowDialog(this);
     }
 }
コード例 #2
0
ファイル: CatalogForm.cs プロジェクト: kpkantaw/msi-spy
 private void patchesToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if(productList.SelectedItems.Count == 1)
     {
         ListViewItem lvi = productList.SelectedItems[0];
         string productCode = lvi.SubItems[CatalogForm.ColProdCode].Text;
         PatchForm dlg = new PatchForm(productCode);
         dlg.ShowDialog(this);
     }
 }