Ejemplo n.º 1
0
 private void ItemsListView_MouseDoubleClick(object sender, MouseEventArgs e)
 {
     if (SelectedItem != null)
     {
         StockDetailInfoForm form = new StockDetailInfoForm(SelectedItem);
         form.ShowDialog();
     }
 }
Ejemplo n.º 2
0
 private void toolStripMenuItemEdit_Click(object sender, EventArgs e)
 {
     if (shouldBeOnStockDetailsViewer.SelectedItem != null)
     {
         StockDetailInfoForm form = new StockDetailInfoForm(shouldBeOnStockDetailsViewer.SelectedItem);
         form.ShowDialog();
     }
 }