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

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

            form.Show();
        }