Beispiel #1
0
        private void btnEdit_Click(object sender, EventArgs e)
        {
            CreateEditStock EditStockForm = new CreateEditStock(1, grdStock.Rows[grdStock.CurrentCell.RowIndex].Cells[0].Value.ToString());

            EditStockForm.ShowDialog();
            stocksGridLoad();
        }
Beispiel #2
0
        private void btnNew_Click(object sender, EventArgs e)
        {
            CreateEditStock CreateStockForm = new CreateEditStock(0);

            CreateStockForm.ShowDialog();
            stocksGridLoad();
        }