Exemplo n.º 1
0
 private void featuresToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (productList.SelectedItems.Count == 1)
     {
         ListViewItem lvi         = productList.SelectedItems[0];
         string       productCode = lvi.SubItems[CatalogForm.ColProdCode].Text;
         FeatureForm  dlg         = new FeatureForm(productCode);
         dlg.ShowDialog(this);
     }
 }
Exemplo n.º 2
0
 private void featuresToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if(productList.SelectedItems.Count == 1)
     {
         ListViewItem lvi = productList.SelectedItems[0];
         string productCode = lvi.SubItems[CatalogForm.ColProdCode].Text;
         FeatureForm dlg = new FeatureForm(productCode);
         dlg.ShowDialog(this);
     }
 }