private void ItemsListView_MouseDoubleClick(object sender, MouseEventArgs e) { if (SelectedItem != null) { StockDetailInfoForm form = new StockDetailInfoForm(SelectedItem); form.ShowDialog(); } }
private void toolStripMenuItemEdit_Click(object sender, EventArgs e) { if (shouldBeOnStockDetailsViewer.SelectedItem != null) { StockDetailInfoForm form = new StockDetailInfoForm(shouldBeOnStockDetailsViewer.SelectedItem); form.ShowDialog(); } }
private void toolStripMenuItemAdd_Click(object sender, EventArgs e) { StockDetailInfoForm form = new StockDetailInfoForm(currentStore); form.Show(); }
private void buttonAddRecord_Click(object sender, EventArgs e) { StockDetailInfoForm form = new StockDetailInfoForm(currentStore); form.Show(); }