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

            form.Show();
        }
Esempio n. 4
0
        private void buttonAddRecord_Click(object sender, EventArgs e)
        {
            StockDetailInfoForm form = new StockDetailInfoForm(currentStore);

            form.Show();
        }